src/Shared/EntityFramework/Migrations/Design/VisualBasicMigrationCodeGenerator.cs
/// <summary>
/// Generates code to perform a <see cref="MoveProcedureOperation" />.
/// </summary>
/// <param name="moveProcedureOperation">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(MoveProcedureOperation moveProcedureOperation, IndentedTextWriter writer)
        {
            Check.NotNull(moveProcedureOperation, "moveProcedureOperation");
            Check.NotNull(writer, "writer");
            writer.Write("MoveStoredProcedure(name := ");
            writer.Write(Quote(moveProcedureOperation.Name));
            writer.Write(", newSchema := ");
            writer.Write(
                string.IsNullOrWhiteSpace(moveProcedureOperation.NewSchema)
                    ? "Nothing"
                    : Quote(moveProcedureOperation.NewSchema));
            writer.WriteLine(")");
        }
protected virtual void Generate ( MoveProcedureOperation moveProcedureOperation , IndentedTextWriter writer ) { Check . NotNull ( moveProcedureOperation , " " ) ; Check . NotNull ( writer , " " ) ; writer . Write ( " " ) ; writer . Write ( Quote ( moveProcedureOperation . Name ) ) ; writer . Write ( " " ) ; writer . Write ( string . IsNullOrWhiteSpace ( moveProcedureOperation . NewSchema ) ? " " : Quote ( moveProcedureOperation . NewSchema ) ) ; writer . WriteLine ( " " ) ; }
Generates code to perform a .
Generates code to perform a .
moveProcedureOperation
MoveProcedureOperation
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 .