SqlServerMigrationSqlGenerator::Generate Method (AlterTableOperation)

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

Override this method to generate SQL when the definition of a table or its attributes are changed. The default implementation of this method does nothing.

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

protected public:
virtual void Generate(
	AlterTableOperation^ alterTableOperation
)

Parameters

alterTableOperation
Type: System.Data.Entity.Migrations.Model::AlterTableOperation
The operation describing changes to the table.
Show: