SqlServerMigrationSqlGenerator::Generate Method (UpdateDatabaseOperation)

[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.]

Generates the specified update database operation which represents applying a series of migrations. The generated script is idempotent, meaning it contains conditional logic to check if individual migrations have already been applied and only apply the pending ones.

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

protected:
virtual void Generate(
	UpdateDatabaseOperation^ updateDatabaseOperation
)

Parameters

updateDatabaseOperation
Type: System.Data.Entity.Migrations.Model::UpdateDatabaseOperation
The update database operation.
Show: