SqliteMigrationsSqlGenerator.Generate Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
Generate(DropUniqueConstraintOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropUniqueConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropUniqueConstraintOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(EnsureSchemaOperation, IModel, MigrationCommandListBuilder)
Şemalar SQLite tarafından desteklenmediğinden ve test uyumluluğunu geliştirmek için sessizce yoksayıldığından yoksayıldı.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As EnsureSchemaOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- EnsureSchemaOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(RenameColumnOperation, IModel, MigrationCommandListBuilder)
Verilen öğesine çağrılar yaparak verilen için komutları oluşturur RenameTableOperation MigrationCommandListBuilder .
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As RenameColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- RenameColumnOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(RenameIndexOperation, IModel, MigrationCommandListBuilder)
Verilen öğesine çağrılar yaparak verilen için komutları oluşturur RenameIndexOperation MigrationCommandListBuilder .
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As RenameIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- RenameIndexOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(RenameSequenceOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionSQLite dizileri desteklemediğinden bu, oluşturur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As RenameSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- RenameSequenceOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(RenameTableOperation, IModel, MigrationCommandListBuilder)
Verilen öğesine çağrılar yaparak verilen için komutları oluşturur RenameTableOperation MigrationCommandListBuilder .
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As RenameTableOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- RenameTableOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(RestartSequenceOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionSQLite dizileri desteklemediğinden bu, oluşturur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As RestartSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- RestartSequenceOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(CreateTableOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen öğesine çağrılar yaparak verilen için komutları oluşturur CreateTableOperation MigrationCommandListBuilder .
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides Sub Generate (operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- CreateTableOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
- terminate
- Boolean
işlem için SQL üretildikten sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(AddColumnOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen öğesine çağrılar yaparak verilen için komutları oluşturur AddColumnOperation MigrationCommandListBuilder .
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides Sub Generate (operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parametreler
- operation
- AddColumnOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
- terminate
- Boolean
işlem için SQL üretildikten sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides Sub Generate (operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- AddForeignKeyOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
- terminate
- Boolean
işlem için SQL üretildikten sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides Sub Generate (operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- AddPrimaryKeyOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
- terminate
- Boolean
işlem için SQL üretildikten sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(DropSequenceOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionSQLite dizileri desteklemediğinden bu, oluşturur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropSequenceOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(DropColumnOperation, IModel, MigrationCommandListBuilder, Boolean)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides Sub Generate (operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- DropColumnOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
- terminate
- Boolean
işlem için SQL üretildikten sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
Bu işlem NotSupportedException henüz desteklenemeyen tablo yeniden oluşturmaları gerektirdiği için throws.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides Sub Generate (operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- DropForeignKeyOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
- terminate
- Boolean
İşlem için bir komut oluşturma işlemi SQL sonlandırıp sonlandırılmay olmadığını gösterir.
Şunlara uygulanır
Generate(IReadOnlyList<MigrationOperation>, IModel, MigrationsSqlGenerationOptions)
İşlemler listesinden komutlar oluşturur.
public override System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> Generate (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Metadata.IModel model = default, Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions options = Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions.Default);
public override System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> Generate (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Metadata.IModel? model = default, Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions options = Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions.Default);
override this.Generate : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
Public Overrides Function Generate (operations As IReadOnlyList(Of MigrationOperation), Optional model As IModel = Nothing, Optional options As MigrationsSqlGenerationOptions = Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions.Default) As IReadOnlyList(Of MigrationCommand)
Parametreler
- operations
- IReadOnlyList<MigrationOperation>
İşlemler.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- options
- MigrationsSqlGenerationOptions
Komutları oluştururken kullanılacak seçenekler.
Döndürülenler
Yürütülecek veya komut dosyası oluşturulacak komutların listesi.
Şunlara uygulanır
Generate(DropSchemaOperation, IModel, MigrationCommandListBuilder)
Şemalar SQLite tarafından desteklenmediğinden ve test uyumluluğunu geliştirmek için sessizce yoksayıldığından yoksayıldı.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropSchemaOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropSchemaOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(DropCheckConstraintOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropCheckConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropCheckConstraintOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(DropIndexOperation, IModel, MigrationCommandListBuilder)
Verilen öğesine çağrılar yaparak verilen için komutları oluşturur DropIndexOperation MigrationCommandListBuilder .
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropIndexOperation
İşlem.
- model
- IModel
İşlemler model olmadan mevcutsa, null olabilen hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(IReadOnlyList<MigrationOperation>, IModel)
İşlemler listesinden komutlar oluşturur.
public override System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> Generate (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Metadata.IModel model = default);
override this.Generate : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Metadata.IModel -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
Public Overrides Function Generate (operations As IReadOnlyList(Of MigrationOperation), Optional model As IModel = Nothing) As IReadOnlyList(Of MigrationCommand)
Parametreler
- operations
- IReadOnlyList<MigrationOperation>
İşlemler.
- model
- IModel
İşlemler model olmadan mevcutsa, null olabilen hedef model.
Döndürülenler
Yürütülecek veya komut dosyası oluşturulacak komutların listesi.
Şunlara uygulanır
Generate(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AddCheckConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AddCheckConstraintOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AddForeignKeyOperation
İşlem.
- model
- IModel
İşlemler model olmadan mevcutsa, null olabilen hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AddPrimaryKeyOperation
İşlem.
- model
- IModel
İşlemler model olmadan mevcutsa, null olabilen hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(AddUniqueConstraintOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AddUniqueConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AddUniqueConstraintOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(AlterColumnOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AlterColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AlterColumnOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropPrimaryKeyOperation
İşlem.
- model
- IModel
İşlemler model olmadan mevcutsa, null olabilen hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(AlterDatabaseOperation, IModel, MigrationCommandListBuilder)
Verilen öğesine çağrılar yaparak verilen için komutları oluşturur AlterDatabaseOperation MigrationCommandListBuilder .
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AlterDatabaseOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AlterDatabaseOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As CreateCheckConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- CreateCheckConstraintOperation
İşlem.
- model
- IModel
İşlemler model olmadan mevcutsa, null olabilen hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(CreateSequenceOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionSQLite dizileri desteklemediğinden bu, oluşturur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As CreateSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- CreateSequenceOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(CreateTableOperation, IModel, MigrationCommandListBuilder)
Verilen öğesine çağrılar yaparak verilen için komutları oluşturur CreateTableOperation MigrationCommandListBuilder .
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- CreateTableOperation
İşlem.
- model
- IModel
İşlemler model olmadan mevcutsa, null olabilen hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(DropIndexOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde çağrı yaparak DropIndexOperation verilen için komutlar MigrationCommandListBuilder derleme.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As DropIndexOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overrides Sub Generate (operation As DropIndexOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Parametreler
- operation
- DropIndexOperation
işlemi.
- model
- IModel
İşlemler model null olmadan mevcutsa hedef model olabilir.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanabileceğiniz komut oluşturucu.
- terminate
- Boolean
İşlem için bir komut oluşturma işlemi SQL sonlandırıp sonlandırılmay olmadığını gösterir.
Şunlara uygulanır
Generate(DropColumnOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropColumnOperation
İşlem.
- model
- IModel
İşlemler model olmadan mevcutsa, null olabilen hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionBu işlem, henüz desteklenmeyen tablo yeniden oluşturur gerektirdiğinden oluşturulur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropForeignKeyOperation
İşlem.
- model
- IModel
İşlemler model olmadan mevcutsa, null olabilen hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(AlterSequenceOperation, IModel, MigrationCommandListBuilder)
NotSupportedExceptionSQLite dizileri desteklemediğinden bu, oluşturur.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AlterSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AlterSequenceOperation
İşlem.
- model
- IModel
nullBir model olmadan işlemler varsa, hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut Oluşturucu.
Şunlara uygulanır
Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
Bu işlem NotSupportedException henüz desteklenemeyen tablo yeniden oluşturmaları gerektirdiği için throws.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides Sub Generate (operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- DropPrimaryKeyOperation
işlemi.
- model
- IModel
İşlemler model null olmadan mevcutsa hedef model olabilir.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanabileceğiniz komut oluşturucu.
- terminate
- Boolean
İşlem için bir komut oluşturma işlemi SQL sonlandırıp sonlandırılmay olmadığını gösterir.