Property | Type | Description | |
---|---|---|---|
DbMigrationsConfiguration | System.Collections.Generic | ||
OnSeed | void |
Method | Description | |
---|---|---|
DbMigrationsConfiguration ( ) : System.Collections.Generic |
Initializes a new instance of the DbMigrationsConfiguration class.
|
|
GetHistoryContextFactory ( string providerInvariantName ) : Func |
Gets the history context factory that is set to be used with a given database provider.
|
|
GetSqlGenerator ( string providerInvariantName ) : System.Data.Entity.Migrations.Sql.MigrationSqlGenerator |
Gets the SQL generator that is set to be used with a given database provider.
|
|
SetHistoryContextFactory ( string providerInvariantName, Func |
Adds a new factory for creating HistoryContext instances to be used for a given database provider.
|
|
SetSqlGenerator ( string providerInvariantName, System.Data.Entity.Migrations.Sql.MigrationSqlGenerator migrationSqlGenerator ) : void |
Adds a new SQL generator to be used for a given database provider.
|
Method | Description | |
---|---|---|
DbMigrationsConfiguration ( Lazy |
||
OnSeed ( DbContext context ) : void |
public DbMigrationsConfiguration ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public GetHistoryContextFactory ( string providerInvariantName ) : Func |
||
providerInvariantName | string | Name of the database provider to get thefactory for. |
return | Func |
public GetSqlGenerator ( string providerInvariantName ) : System.Data.Entity.Migrations.Sql.MigrationSqlGenerator | ||
providerInvariantName | string | Name of the database provider to get the SQL generator for. |
return | System.Data.Entity.Migrations.Sql.MigrationSqlGenerator |
public SetHistoryContextFactory ( string providerInvariantName, Func |
||
providerInvariantName | string | Name of the database provider to set the SQL generator for. |
factory | Func |
/// A factory for creating |
return | void |
public SetSqlGenerator ( string providerInvariantName, System.Data.Entity.Migrations.Sql.MigrationSqlGenerator migrationSqlGenerator ) : void | ||
providerInvariantName | string | Name of the database provider to set the SQL generator for. |
migrationSqlGenerator | System.Data.Entity.Migrations.Sql.MigrationSqlGenerator | The SQL generator to be used. |
return | void |