AppContextFactory Class
Assembly: ConsoleTestApp.dll
Syntax
public class AppContextFactory : IDesignTimeDbContextFactory<AppContext>
Inheritance
System.Object
AppContextFactory
Fields
UseQueryLog
Declaration
public static bool UseQueryLog
Field Value
Type |
Description |
System.Boolean |
|
Methods
CreateDbContext(String[])
Declaration
public AppContext CreateDbContext(string[] args)
Parameters
Type |
Name |
Description |
System.String[] |
args |
|
Returns
CreateOwnedDbContext(Nullable<Int64>)
Declaration
public AppContext CreateOwnedDbContext(long? ownerId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int64> |
ownerId |
|
Returns
Initialize()
Declaration
public static void Initialize()
Make(Nullable<Int64>)
Declaration
public static AppContext Make(long? ownnerId)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int64> |
ownnerId |
|
Returns
Extension Methods