AddForeignKeyOperation.CreateCreateIndexOperation Method ()

 

Gets an operation to create an index on the foreign key column(s).

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

public virtual CreateIndexOperation CreateCreateIndexOperation()

Return Value

Type: System.Data.Entity.Migrations.Model.CreateIndexOperation

An operation to add the index.