src/Shared/EntityFramework/Migrations/Design/VisualBasicMigrationCodeGenerator.cs
/// <summary>
/// Generates code to perform a <see cref="CreateIndexOperation" /> as part of a <see cref="CreateTableOperation" />.
/// </summary>
/// <param name="createIndexOperation"> The operation to generate code for. </param>
/// <param name="writer"> Text writer to add the generated code to. </param>
Generates code to perform a  as part of a .
Generates code to perform a as part of a .
protected virtual void GenerateInline(CreateIndexOperation createIndexOperation, IndentedTextWriter writer)
        {
            Check.NotNull(createIndexOperation, "createIndexOperation");
            Check.NotNull(writer, "writer");
            writer.WriteLine(" _");
            writer.Write(".Index(");
            Generate(createIndexOperation.Columns, writer);
            WriteIndexParameters(createIndexOperation, writer);
            writer.Write(")");
        }
protected virtual void GenerateInline ( CreateIndexOperation createIndexOperation , IndentedTextWriter writer ) { Check . NotNull ( createIndexOperation , " " ) ; Check . NotNull ( writer , " " ) ; writer . WriteLine ( " " ) ; writer . Write ( " " ) ; Generate ( createIndexOperation . Columns , writer ) ; WriteIndexParameters ( createIndexOperation , writer ) ; writer . Write ( " " ) ; }
Generates code to perform a  as part of a .
Generates code to perform a as part of a .
createIndexOperation
CreateIndexOperation
The operation to generate code for.
The operation to generate code for .
writer
IndentedTextWriter
Text writer to add the generated code to.
Text writer to add the generated code to .