CSharpMigrationOperationGenerator CSharpMigrationOperationGenerator Class

Definition

public class CSharpMigrationOperationGenerator
Public Class CSharpMigrationOperationGenerator
Inheritance
System.ObjectSystem.Object
CSharpMigrationOperationGeneratorCSharpMigrationOperationGenerator

Constructors

CSharpMigrationOperationGenerator(CSharpHelper) CSharpMigrationOperationGenerator(CSharpHelper)

public CSharpMigrationOperationGenerator(CSharpHelper codeHelper)
Public Sub New(codeHelper As CSharpHelper)
Parameters

Methods

Annotations(IEnumerable, IndentedStringBuilder) Annotations(IEnumerable(Of Annotation), IndentedStringBuilder)

protected virtual void Annotations(IEnumerable<Annotation> annotations, IndentedStringBuilder builder)
Protected Overridable Sub Annotations(annotations As IEnumerable(Of Annotation), builder As IndentedStringBuilder)
Parameters
annotations
System.Collections.Generic.IEnumerable<Annotation> System.Collections.Generic.IEnumerable(Of Annotation)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

Generate(AddColumnOperation, IndentedStringBuilder) Generate(AddColumnOperation, IndentedStringBuilder)

protected virtual void Generate(AddColumnOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As AddColumnOperation, builder As IndentedStringBuilder)
Parameters

Generate(AddForeignKeyOperation, IndentedStringBuilder) Generate(AddForeignKeyOperation, IndentedStringBuilder)

protected virtual void Generate(AddForeignKeyOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As AddForeignKeyOperation, builder As IndentedStringBuilder)
Parameters

Generate(AddPrimaryKeyOperation, IndentedStringBuilder) Generate(AddPrimaryKeyOperation, IndentedStringBuilder)

protected virtual void Generate(AddPrimaryKeyOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As AddPrimaryKeyOperation, builder As IndentedStringBuilder)
Parameters

Generate(AddUniqueConstraintOperation, IndentedStringBuilder) Generate(AddUniqueConstraintOperation, IndentedStringBuilder)

protected virtual void Generate(AddUniqueConstraintOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As AddUniqueConstraintOperation, builder As IndentedStringBuilder)
Parameters

Generate(AlterColumnOperation, IndentedStringBuilder) Generate(AlterColumnOperation, IndentedStringBuilder)

protected virtual void Generate(AlterColumnOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As AlterColumnOperation, builder As IndentedStringBuilder)
Parameters

Generate(AlterDatabaseOperation, IndentedStringBuilder) Generate(AlterDatabaseOperation, IndentedStringBuilder)

protected virtual void Generate(AlterDatabaseOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As AlterDatabaseOperation, builder As IndentedStringBuilder)
Parameters

Generate(AlterSequenceOperation, IndentedStringBuilder) Generate(AlterSequenceOperation, IndentedStringBuilder)

protected virtual void Generate(AlterSequenceOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As AlterSequenceOperation, builder As IndentedStringBuilder)
Parameters

Generate(AlterTableOperation, IndentedStringBuilder) Generate(AlterTableOperation, IndentedStringBuilder)

protected virtual void Generate(AlterTableOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As AlterTableOperation, builder As IndentedStringBuilder)
Parameters

Generate(CreateIndexOperation, IndentedStringBuilder) Generate(CreateIndexOperation, IndentedStringBuilder)

protected virtual void Generate(CreateIndexOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As CreateIndexOperation, builder As IndentedStringBuilder)
Parameters

Generate(CreateSequenceOperation, IndentedStringBuilder) Generate(CreateSequenceOperation, IndentedStringBuilder)

protected virtual void Generate(CreateSequenceOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As CreateSequenceOperation, builder As IndentedStringBuilder)
Parameters

Generate(CreateTableOperation, IndentedStringBuilder) Generate(CreateTableOperation, IndentedStringBuilder)

protected virtual void Generate(CreateTableOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As CreateTableOperation, builder As IndentedStringBuilder)
Parameters

Generate(DropColumnOperation, IndentedStringBuilder) Generate(DropColumnOperation, IndentedStringBuilder)

protected virtual void Generate(DropColumnOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As DropColumnOperation, builder As IndentedStringBuilder)
Parameters

Generate(DropForeignKeyOperation, IndentedStringBuilder) Generate(DropForeignKeyOperation, IndentedStringBuilder)

protected virtual void Generate(DropForeignKeyOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As DropForeignKeyOperation, builder As IndentedStringBuilder)
Parameters

Generate(DropIndexOperation, IndentedStringBuilder) Generate(DropIndexOperation, IndentedStringBuilder)

protected virtual void Generate(DropIndexOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As DropIndexOperation, builder As IndentedStringBuilder)
Parameters

Generate(DropPrimaryKeyOperation, IndentedStringBuilder) Generate(DropPrimaryKeyOperation, IndentedStringBuilder)

protected virtual void Generate(DropPrimaryKeyOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As DropPrimaryKeyOperation, builder As IndentedStringBuilder)
Parameters

Generate(DropSchemaOperation, IndentedStringBuilder) Generate(DropSchemaOperation, IndentedStringBuilder)

protected virtual void Generate(DropSchemaOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As DropSchemaOperation, builder As IndentedStringBuilder)
Parameters

Generate(DropSequenceOperation, IndentedStringBuilder) Generate(DropSequenceOperation, IndentedStringBuilder)

protected virtual void Generate(DropSequenceOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As DropSequenceOperation, builder As IndentedStringBuilder)
Parameters

Generate(DropTableOperation, IndentedStringBuilder) Generate(DropTableOperation, IndentedStringBuilder)

protected virtual void Generate(DropTableOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As DropTableOperation, builder As IndentedStringBuilder)
Parameters

Generate(DropUniqueConstraintOperation, IndentedStringBuilder) Generate(DropUniqueConstraintOperation, IndentedStringBuilder)

protected virtual void Generate(DropUniqueConstraintOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As DropUniqueConstraintOperation, builder As IndentedStringBuilder)
Parameters

Generate(EnsureSchemaOperation, IndentedStringBuilder) Generate(EnsureSchemaOperation, IndentedStringBuilder)

protected virtual void Generate(EnsureSchemaOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As EnsureSchemaOperation, builder As IndentedStringBuilder)
Parameters

Generate(MigrationOperation, IndentedStringBuilder) Generate(MigrationOperation, IndentedStringBuilder)

protected virtual void Generate(MigrationOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As MigrationOperation, builder As IndentedStringBuilder)
Parameters

Generate(RenameColumnOperation, IndentedStringBuilder) Generate(RenameColumnOperation, IndentedStringBuilder)

protected virtual void Generate(RenameColumnOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As RenameColumnOperation, builder As IndentedStringBuilder)
Parameters

Generate(RenameIndexOperation, IndentedStringBuilder) Generate(RenameIndexOperation, IndentedStringBuilder)

protected virtual void Generate(RenameIndexOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As RenameIndexOperation, builder As IndentedStringBuilder)
Parameters

Generate(RenameSequenceOperation, IndentedStringBuilder) Generate(RenameSequenceOperation, IndentedStringBuilder)

protected virtual void Generate(RenameSequenceOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As RenameSequenceOperation, builder As IndentedStringBuilder)
Parameters

Generate(RenameTableOperation, IndentedStringBuilder) Generate(RenameTableOperation, IndentedStringBuilder)

protected virtual void Generate(RenameTableOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As RenameTableOperation, builder As IndentedStringBuilder)
Parameters

Generate(RestartSequenceOperation, IndentedStringBuilder) Generate(RestartSequenceOperation, IndentedStringBuilder)

protected virtual void Generate(RestartSequenceOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As RestartSequenceOperation, builder As IndentedStringBuilder)
Parameters

Generate(SqlOperation, IndentedStringBuilder) Generate(SqlOperation, IndentedStringBuilder)

protected virtual void Generate(SqlOperation operation, IndentedStringBuilder builder)
Protected Overridable Sub Generate(operation As SqlOperation, builder As IndentedStringBuilder)
Parameters

Generate(String, IReadOnlyList, IndentedStringBuilder) Generate(String, IReadOnlyList(Of MigrationOperation), IndentedStringBuilder)

public virtual void Generate(string builderName, IReadOnlyList<MigrationOperation> operations, IndentedStringBuilder builder)
Public Overridable Sub Generate(builderName As String, operations As IReadOnlyList(Of MigrationOperation), builder As IndentedStringBuilder)
Parameters
builderName
System.String System.String
operations
System.Collections.Generic.IReadOnlyList<MigrationOperation> System.Collections.Generic.IReadOnlyList(Of MigrationOperation)

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OldAnnotations(IEnumerable, IndentedStringBuilder) OldAnnotations(IEnumerable(Of Annotation), IndentedStringBuilder)

protected virtual void OldAnnotations(IEnumerable<Annotation> annotations, IndentedStringBuilder builder)
Protected Overridable Sub OldAnnotations(annotations As IEnumerable(Of Annotation), builder As IndentedStringBuilder)
Parameters
annotations
System.Collections.Generic.IEnumerable<Annotation> System.Collections.Generic.IEnumerable(Of Annotation)

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object