src/EntityFramework/Migrations/Design/VisualBasicMigrationCodeGenerator.cs
/// <summary>
///     Generates code to perform a <see cref="RenameTableOperation" />.
/// </summary>
/// <param name="renameTableOperation"> The operation to generate code for. </param>
/// <param name="writer"> Text writer to add the generated code to. </param>
Generates code to perform a .
Generates code to perform a .
protected virtual void Generate(RenameTableOperation renameTableOperation, IndentedTextWriter writer)
        {
            Check.NotNull(renameTableOperation, "renameTableOperation");
            Check.NotNull(writer, "writer");
            writer.Write("RenameTable(name := ");
            writer.Write(Quote(renameTableOperation.Name));
            writer.Write(", newName := ");
            writer.Write(Quote(renameTableOperation.NewName));
            writer.WriteLine(")");
        }
protected virtual void Generate ( RenameTableOperation renameTableOperation , IndentedTextWriter writer ) { Check . NotNull ( renameTableOperation , " " ) ; Check . NotNull ( writer , " " ) ; writer . Write ( " " ) ; writer . Write ( Quote ( renameTableOperation . Name ) ) ; writer . Write ( " " ) ; writer . Write ( Quote ( renameTableOperation . NewName ) ) ; writer . WriteLine ( " " ) ; }
Generates code to perform a .
Generates code to perform a .
renameTableOperation
RenameTableOperation
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 .