SqlServerMigrationSqlGenerator::Generate Method (IEnumerable<MigrationOperation>, String)
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Converts a set of migration operations into Microsoft SQL Server specific SQL.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
public: virtual IEnumerable<MigrationStatement^>^ Generate( IEnumerable<MigrationOperation^>^ migrationOperations, String^ providerManifestToken ) override
Parameters
- migrationOperations
- Type: System.Collections.Generic::IEnumerable<MigrationOperation>
The operations to be converted.
- providerManifestToken
- Type: System::String
Token representing the version of SQL Server being targeted (i.e. "2005", "2008").
Return Value
Type: System.Collections.Generic::IEnumerable<MigrationStatement>A list of SQL statements to be executed to perform the migration operations.
Show: