MigrationsSqlGenerator MigrationsSqlGenerator Class

Definition

public class MigrationsSqlGenerator : IMigrationsSqlGenerator
Public Class MigrationsSqlGenerator
    Implements IMigrationsSqlGenerator
Inheritance
System.ObjectSystem.Object
MigrationsSqlGeneratorMigrationsSqlGenerator
Implements

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

MigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider) MigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider)

public MigrationsSqlGenerator(IRelationalCommandBuilderFactory commandBuilderFactory, ISqlGenerationHelper sqlGenerationHelper, IRelationalTypeMapper typeMapper, IRelationalAnnotationProvider annotations)
Public Sub New(commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, typeMapper As IRelationalTypeMapper, annotations As IRelationalAnnotationProvider)
Parameters

Properties

Annotations Annotations

protected virtual IRelationalAnnotationProvider Annotations { get; }
Protected Overridable ReadOnly Property Annotations As IRelationalAnnotationProvider

SqlGenerationHelper SqlGenerationHelper

protected virtual ISqlGenerationHelper SqlGenerationHelper { get; }
Protected Overridable ReadOnly Property SqlGenerationHelper As ISqlGenerationHelper

TypeMapper TypeMapper

protected virtual IRelationalTypeMapper TypeMapper { get; }
Protected Overridable ReadOnly Property TypeMapper As IRelationalTypeMapper

Methods

ColumnDefinition(AddColumnOperation, IModel, MigrationCommandListBuilder) ColumnDefinition(AddColumnOperation, IModel, MigrationCommandListBuilder)

protected virtual void ColumnDefinition(AddColumnOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub ColumnDefinition(operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

ColumnDefinition(String, String, String, Type, String, Nullable, Nullable, Boolean, Boolean, Object, String, String, IAnnotatable, IModel, MigrationCommandListBuilder) ColumnDefinition(String, String, String, Type, String, Nullable(Of Boolean), Nullable(Of Int32), Boolean, Boolean, Object, String, String, IAnnotatable, IModel, MigrationCommandListBuilder)

protected virtual void ColumnDefinition(string schema, string table, string name, Type clrType, string type, bool ? unicode, int ? maxLength, bool rowVersion, bool nullable, object defaultValue, string defaultValueSql, string computedColumnSql, IAnnotatable annotatable, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub ColumnDefinition(schema As String, table As String, name As String, clrType As Type, type As String, unicode As Boolean?, maxLength As Integer?, rowVersion As Boolean, nullable As Boolean, defaultValue As Object, defaultValueSql As String, computedColumnSql As String, annotatable As IAnnotatable, model As IModel, builder As MigrationCommandListBuilder)
Parameters
schema
System.String System.String
table
System.String System.String
name
System.String System.String
clrType
System.Type System.Type
type
System.String System.String
unicode
System.Nullable<System.Boolean> System.Nullable(Of System.Boolean)
maxLength
System.Nullable<System.Int32> System.Nullable(Of System.Int32)
rowVersion
System.Boolean System.Boolean
nullable
System.Boolean System.Boolean
defaultValue
System.Object System.Object
defaultValueSql
System.String System.String
computedColumnSql
System.String System.String
model
IModel IModel

ColumnList(String[]) ColumnList(String())

protected virtual string ColumnList(string[] columns)
Protected Overridable Function ColumnList(columns As String()) As String
Parameters
columns
System.String[] System.String()
Returns
System.String System.String

DefaultValue(Object, String, MigrationCommandListBuilder) DefaultValue(Object, String, MigrationCommandListBuilder)

protected virtual void DefaultValue(object defaultValue, string defaultValueSql, MigrationCommandListBuilder builder)
Protected Overridable Sub DefaultValue(defaultValue As Object, defaultValueSql As String, builder As MigrationCommandListBuilder)
Parameters
defaultValue
System.Object System.Object
defaultValueSql
System.String System.String

EndStatement(MigrationCommandListBuilder, Boolean) EndStatement(MigrationCommandListBuilder, Boolean)

protected virtual void EndStatement(MigrationCommandListBuilder builder, bool suppressTransaction = false)
Protected Overridable Sub EndStatement(builder As MigrationCommandListBuilder, suppressTransaction As Boolean = False)
Parameters
suppressTransaction
System.Boolean System.Boolean

FindEntityTypes(IModel, String, String) FindEntityTypes(IModel, String, String)

protected virtual IEnumerable<IEntityType> FindEntityTypes(IModel model, string schema, string tableName)
Protected Overridable Function FindEntityTypes(model As IModel, schema As String, tableName As String) As IEnumerable(Of IEntityType)
Parameters
model
IModel IModel
schema
System.String System.String
tableName
System.String System.String
Returns
System.Collections.Generic.IEnumerable<IEntityType> System.Collections.Generic.IEnumerable(Of IEntityType)

FindProperty(IModel, String, String, String) FindProperty(IModel, String, String, String)

protected virtual IProperty FindProperty(IModel model, string schema, string tableName, string columnName)
Protected Overridable Function FindProperty(model As IModel, schema As String, tableName As String, columnName As String) As IProperty
Parameters
model
IModel IModel
schema
System.String System.String
tableName
System.String System.String
columnName
System.String System.String
Returns

ForeignKeyAction(ReferentialAction, MigrationCommandListBuilder) ForeignKeyAction(ReferentialAction, MigrationCommandListBuilder)

protected virtual void ForeignKeyAction(ReferentialAction referentialAction, MigrationCommandListBuilder builder)
Protected Overridable Sub ForeignKeyAction(referentialAction As ReferentialAction, builder As MigrationCommandListBuilder)
Parameters

ForeignKeyConstraint(AddForeignKeyOperation, IModel, MigrationCommandListBuilder) ForeignKeyConstraint(AddForeignKeyOperation, IModel, MigrationCommandListBuilder)

protected virtual void ForeignKeyConstraint(AddForeignKeyOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub ForeignKeyConstraint(operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(AddColumnOperation, IModel, MigrationCommandListBuilder) Generate(AddColumnOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(AddColumnOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(AddColumnOperation, IModel, MigrationCommandListBuilder, Boolean) Generate(AddColumnOperation, IModel, MigrationCommandListBuilder, Boolean)

protected virtual void Generate(AddColumnOperation operation, IModel model, MigrationCommandListBuilder builder, bool terminate)
Protected Overridable Sub Generate(operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parameters
model
IModel IModel
terminate
System.Boolean System.Boolean

Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder) Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(AddForeignKeyOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean) Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

protected virtual void Generate(AddForeignKeyOperation operation, IModel model, MigrationCommandListBuilder builder, bool terminate)
Protected Overridable Sub Generate(operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parameters
model
IModel IModel
terminate
System.Boolean System.Boolean

Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder) Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(AddPrimaryKeyOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean) Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

protected virtual void Generate(AddPrimaryKeyOperation operation, IModel model, MigrationCommandListBuilder builder, bool terminate)
Protected Overridable Sub Generate(operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parameters
model
IModel IModel
terminate
System.Boolean System.Boolean

Generate(AddUniqueConstraintOperation, IModel, MigrationCommandListBuilder) Generate(AddUniqueConstraintOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(AddUniqueConstraintOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As AddUniqueConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(AlterColumnOperation, IModel, MigrationCommandListBuilder) Generate(AlterColumnOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(AlterColumnOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As AlterColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(AlterDatabaseOperation, IModel, MigrationCommandListBuilder) Generate(AlterDatabaseOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(AlterDatabaseOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As AlterDatabaseOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(AlterSequenceOperation, IModel, MigrationCommandListBuilder) Generate(AlterSequenceOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(AlterSequenceOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As AlterSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(AlterTableOperation, IModel, MigrationCommandListBuilder) Generate(AlterTableOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(AlterTableOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As AlterTableOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder) Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(CreateIndexOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder, Boolean) Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder, Boolean)

protected virtual void Generate(CreateIndexOperation operation, IModel model, MigrationCommandListBuilder builder, bool terminate)
Protected Overridable Sub Generate(operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parameters
model
IModel IModel
terminate
System.Boolean System.Boolean

Generate(CreateSequenceOperation, IModel, MigrationCommandListBuilder) Generate(CreateSequenceOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(CreateSequenceOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As CreateSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(CreateTableOperation, IModel, MigrationCommandListBuilder) Generate(CreateTableOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(CreateTableOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(CreateTableOperation, IModel, MigrationCommandListBuilder, Boolean) Generate(CreateTableOperation, IModel, MigrationCommandListBuilder, Boolean)

protected virtual void Generate(CreateTableOperation operation, IModel model, MigrationCommandListBuilder builder, bool terminate)
Protected Overridable Sub Generate(operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parameters
model
IModel IModel
terminate
System.Boolean System.Boolean

Generate(DropColumnOperation, IModel, MigrationCommandListBuilder) Generate(DropColumnOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(DropColumnOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(DropColumnOperation, IModel, MigrationCommandListBuilder, Boolean) Generate(DropColumnOperation, IModel, MigrationCommandListBuilder, Boolean)

protected virtual void Generate(DropColumnOperation operation, IModel model, MigrationCommandListBuilder builder, bool terminate)
Protected Overridable Sub Generate(operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parameters
model
IModel IModel
terminate
System.Boolean System.Boolean

Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder) Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(DropForeignKeyOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean) Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

protected virtual void Generate(DropForeignKeyOperation operation, IModel model, MigrationCommandListBuilder builder, bool terminate)
Protected Overridable Sub Generate(operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parameters
model
IModel IModel
terminate
System.Boolean System.Boolean

Generate(DropIndexOperation, IModel, MigrationCommandListBuilder) Generate(DropIndexOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(DropIndexOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As DropIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder) Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(DropPrimaryKeyOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean) Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

protected virtual void Generate(DropPrimaryKeyOperation operation, IModel model, MigrationCommandListBuilder builder, bool terminate)
Protected Overridable Sub Generate(operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parameters
model
IModel IModel
terminate
System.Boolean System.Boolean

Generate(DropSchemaOperation, IModel, MigrationCommandListBuilder) Generate(DropSchemaOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(DropSchemaOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As DropSchemaOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(DropSequenceOperation, IModel, MigrationCommandListBuilder) Generate(DropSequenceOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(DropSequenceOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As DropSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(DropTableOperation, IModel, MigrationCommandListBuilder) Generate(DropTableOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(DropTableOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As DropTableOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(DropTableOperation, IModel, MigrationCommandListBuilder, Boolean) Generate(DropTableOperation, IModel, MigrationCommandListBuilder, Boolean)

protected virtual void Generate(DropTableOperation operation, IModel model, MigrationCommandListBuilder builder, bool terminate)
Protected Overridable Sub Generate(operation As DropTableOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parameters
model
IModel IModel
terminate
System.Boolean System.Boolean

Generate(DropUniqueConstraintOperation, IModel, MigrationCommandListBuilder) Generate(DropUniqueConstraintOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(DropUniqueConstraintOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As DropUniqueConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(EnsureSchemaOperation, IModel, MigrationCommandListBuilder) Generate(EnsureSchemaOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(EnsureSchemaOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As EnsureSchemaOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(MigrationOperation, IModel, MigrationCommandListBuilder) Generate(MigrationOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(MigrationOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As MigrationOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(RenameColumnOperation, IModel, MigrationCommandListBuilder) Generate(RenameColumnOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(RenameColumnOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As RenameColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(RenameIndexOperation, IModel, MigrationCommandListBuilder) Generate(RenameIndexOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(RenameIndexOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As RenameIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(RenameSequenceOperation, IModel, MigrationCommandListBuilder) Generate(RenameSequenceOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(RenameSequenceOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As RenameSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(RenameTableOperation, IModel, MigrationCommandListBuilder) Generate(RenameTableOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(RenameTableOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As RenameTableOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(RestartSequenceOperation, IModel, MigrationCommandListBuilder) Generate(RestartSequenceOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(RestartSequenceOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As RestartSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(SqlOperation, IModel, MigrationCommandListBuilder) Generate(SqlOperation, IModel, MigrationCommandListBuilder)

protected virtual void Generate(SqlOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub Generate(operation As SqlOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

Generate(IReadOnlyList, IModel) Generate(IReadOnlyList(Of MigrationOperation), IModel)

public virtual IReadOnlyList<MigrationCommand> Generate(IReadOnlyList<MigrationOperation> operations, IModel model = null)
Public Overridable Function Generate(operations As IReadOnlyList(Of MigrationOperation), model As IModel = Nothing) As IReadOnlyList(Of MigrationCommand)
Parameters
operations
System.Collections.Generic.IReadOnlyList<MigrationOperation> System.Collections.Generic.IReadOnlyList(Of MigrationOperation)
model
IModel IModel
Returns
System.Collections.Generic.IReadOnlyList<MigrationCommand> System.Collections.Generic.IReadOnlyList(Of MigrationCommand)

GetColumnType(String, String, String, Type, Nullable, Nullable, Boolean, IModel) GetColumnType(String, String, String, Type, Nullable(Of Boolean), Nullable(Of Int32), Boolean, IModel)

protected virtual string GetColumnType(string schema, string table, string name, Type clrType, bool ? unicode, int ? maxLength, bool rowVersion, IModel model)
Protected Overridable Function GetColumnType(schema As String, table As String, name As String, clrType As Type, unicode As Boolean?, maxLength As Integer?, rowVersion As Boolean, model As IModel) As String
Parameters
schema
System.String System.String
table
System.String System.String
name
System.String System.String
clrType
System.Type System.Type
unicode
System.Nullable<System.Boolean> System.Nullable(Of System.Boolean)
maxLength
System.Nullable<System.Int32> System.Nullable(Of System.Int32)
rowVersion
System.Boolean System.Boolean
model
IModel IModel
Returns
System.String System.String

IndexTraits(MigrationOperation, IModel, MigrationCommandListBuilder) IndexTraits(MigrationOperation, IModel, MigrationCommandListBuilder)

protected virtual void IndexTraits(MigrationOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub IndexTraits(operation As MigrationOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

IsOldColumnSupported(IModel) IsOldColumnSupported(IModel)

protected virtual bool IsOldColumnSupported(IModel model)
Protected Overridable Function IsOldColumnSupported(model As IModel) As Boolean
Parameters
model
IModel IModel
Returns
System.Boolean System.Boolean

PrimaryKeyConstraint(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder) PrimaryKeyConstraint(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder)

protected virtual void PrimaryKeyConstraint(AddPrimaryKeyOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub PrimaryKeyConstraint(operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

SequenceOptions(AlterSequenceOperation, IModel, MigrationCommandListBuilder) SequenceOptions(AlterSequenceOperation, IModel, MigrationCommandListBuilder)

protected virtual void SequenceOptions(AlterSequenceOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub SequenceOptions(operation As AlterSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

SequenceOptions(CreateSequenceOperation, IModel, MigrationCommandListBuilder) SequenceOptions(CreateSequenceOperation, IModel, MigrationCommandListBuilder)

protected virtual void SequenceOptions(CreateSequenceOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub SequenceOptions(operation As CreateSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel

SequenceOptions(String, String, Int32, Nullable, Nullable, Boolean, IModel, MigrationCommandListBuilder) SequenceOptions(String, String, Int32, Nullable(Of Int64), Nullable(Of Int64), Boolean, IModel, MigrationCommandListBuilder)

protected virtual void SequenceOptions(string schema, string name, int increment, long ? minimumValue, long ? maximumValue, bool cycle, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub SequenceOptions(schema As String, name As String, increment As Integer, minimumValue As Long?, maximumValue As Long?, cycle As Boolean, model As IModel, builder As MigrationCommandListBuilder)
Parameters
schema
System.String System.String
name
System.String System.String
increment
System.Int32 System.Int32
minimumValue
System.Nullable<System.Int64> System.Nullable(Of System.Int64)
maximumValue
System.Nullable<System.Int64> System.Nullable(Of System.Int64)
cycle
System.Boolean System.Boolean
model
IModel IModel

UniqueConstraint(AddUniqueConstraintOperation, IModel, MigrationCommandListBuilder) UniqueConstraint(AddUniqueConstraintOperation, IModel, MigrationCommandListBuilder)

protected virtual void UniqueConstraint(AddUniqueConstraintOperation operation, IModel model, MigrationCommandListBuilder builder)
Protected Overridable Sub UniqueConstraint(operation As AddUniqueConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameters
model
IModel IModel