MigrationSqlGenerator.Generate Method (IEnumerable<MigrationOperation>, String)
Converts a set of migration operations into database provider specific SQL.
Assembly: EntityFramework (in EntityFramework.dll)
public abstract IEnumerable<MigrationStatement> Generate( IEnumerable<MigrationOperation> migrationOperations, string providerManifestToken )
Parameters
- migrationOperations
-
Type:
System.Collections.Generic.IEnumerable<MigrationOperation>
The operations to be converted.
- providerManifestToken
-
Type:
System.String
Token representing the version of the database being targeted.
Return Value
Type: System.Collections.Generic.IEnumerable<MigrationStatement>A list of SQL statements to be executed to perform the migration operations.