src/Shared/EntityFramework/Migrations/Model/AddForeignKeyOperation.cs
/// <summary>
/// Gets an operation to create an index on the foreign key column(s).
/// </summary>
/// <returns> An operation to add the index. </returns>
Gets an operation to create an index on the foreign key column(s).
Gets an operation to create an index on the foreign key column ( s ) .
public virtual CreateIndexOperation CreateCreateIndexOperation()
        {
            var createIndexOperation
                = new CreateIndexOperation
                      {
                          Table = DependentTable
                      };
            DependentColumns.Each(c => createIndexOperation.Columns.Add(c));
            return createIndexOperation;
        }
public virtual CreateIndexOperation CreateCreateIndexOperation ( ) { var createIndexOperation = new CreateIndexOperation { Table = DependentTable } ; DependentColumns . Each ( c => createIndexOperation . Columns . Add ( c ) ) ; return createIndexOperation ; }
Gets an operation to create an index on the foreign key column(s).
Gets an operation to create an index on the foreign key column ( s ) .
An operation to add the index.
An operation to add the index .