Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MigrationSqlGenerator::Generate Method (IEnumerable<MigrationOperation^>^, String^)

Entity Framework 6.0
 

Converts a set of migration operations into database provider specific SQL.

Namespace:   System.Data.Entity.Migrations.Sql
Assembly:  EntityFramework (in EntityFramework.dll)

public:
virtual IEnumerable<MigrationStatement^>^ Generate(
	IEnumerable<MigrationOperation^>^ migrationOperations,
	String^ providerManifestToken
) abstract

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.

Return to top
Show: