SqlServerMigrationSqlGenerator::Generate Method (CreateIndexOperation)

[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 SQL for a CreateIndexOperation. Generated SQL should be added using the Statement method.

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

protected:
virtual void Generate(
	CreateIndexOperation^ createIndexOperation
)

Parameters

createIndexOperation
Type: System.Data.Entity.Migrations.Model::CreateIndexOperation
The operation to produce SQL for.
Show: