src/Shared/EntityFramework/Migrations/Design/VisualBasicMigrationCodeGenerator.cs
/// <summary>
/// Generates code to perform a <see cref="RenameProcedureOperation" />.
/// </summary>
/// <param name="renameProcedureOperation">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(RenameProcedureOperation renameProcedureOperation, IndentedTextWriter writer)
        {
            Check.NotNull(renameProcedureOperation, "renameProcedureOperation");
            Check.NotNull(writer, "writer");
            writer.Write("RenameStoredProcedure(name := ");
            writer.Write(Quote(renameProcedureOperation.Name));
            writer.Write(", newName := ");
            writer.Write(Quote(renameProcedureOperation.NewName));
            writer.WriteLine(")");
        }
protected virtual void Generate ( RenameProcedureOperation renameProcedureOperation , IndentedTextWriter writer ) { Check . NotNull ( renameProcedureOperation , " " ) ; Check . NotNull ( writer , " " ) ; writer . Write ( " " ) ; writer . Write ( Quote ( renameProcedureOperation . Name ) ) ; writer . Write ( " " ) ; writer . Write ( Quote ( renameProcedureOperation . NewName ) ) ; writer . WriteLine ( " " ) ; }
Generates code to perform a .
Generates code to perform a .
renameProcedureOperation
RenameProcedureOperation
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 .