SqliteMigrationsSqlGenerator SqliteMigrationsSqlGenerator Class

Definition

public class SqliteMigrationsSqlGenerator : MigrationsSqlGenerator, IMigrationsSqlGenerator
Public Class SqliteMigrationsSqlGenerator
    Inherits MigrationsSqlGenerator
    Implements IMigrationsSqlGenerator
Inheritance
System.ObjectSystem.Object
SqliteMigrationsSqlGeneratorSqliteMigrationsSqlGenerator
Implements

Inherited Members

Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerator

SequenceOptions(System.String, System.String, System.Int32, System.Nullable<System.Int64>, System.Nullable<System.Int64>, System.Boolean, IModel, MigrationCommandListBuilder)SequenceOptions(System.String, System.String, System.Int32, System.Nullable(Of System.Int64), System.Nullable(Of System.Int64), System.Boolean, IModel, MigrationCommandListBuilder)
GetColumnType(System.String, System.String, System.String, System.Type, System.Nullable<System.Boolean>, System.Nullable<System.Int32>, System.Boolean, IModel)GetColumnType(System.String, System.String, System.String, System.Type, System.Nullable(Of System.Boolean), System.Nullable(Of System.Int32), System.Boolean, IModel)
DefaultValue(System.Object, System.String, MigrationCommandListBuilder)DefaultValue(System.Object, System.String, MigrationCommandListBuilder)
FindEntityTypes(IModel, System.String, System.String)FindEntityTypes(IModel, System.String, System.String)
FindProperty(IModel, System.String, System.String, System.String)FindProperty(IModel, System.String, System.String, System.String)
ColumnList(System.String[])ColumnList(System.String())

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

SqliteMigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider) SqliteMigrationsSqlGenerator(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IRelationalTypeMapper, IRelationalAnnotationProvider)

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

Methods

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 override 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 Overrides 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
Overrides

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public override IReadOnlyList<MigrationCommand> Generate(IReadOnlyList<MigrationOperation> operations, IModel model = null)
Public Overrides 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)
Overrides