Table of Contents

Class DataContextDataContextFactory

Namespace
HeBianGu.DataBase.SqlServer
Assembly
HeBianGu.DataBase.SqlServer.dll
public class DataContextDataContextFactory : IDesignTimeDbContextFactory<DataContext>
Inheritance
DataContextDataContextFactory
Implements
Inherited Members
Extension Methods

Methods

CreateDbContext(string[])

Creates a new instance of a derived context.

public DataContext CreateDbContext(string[] args)

Parameters

args string[]

Arguments provided by the design-time service.

Returns

DataContext

An instance of DataContext.