MigrationsSqlGenerator.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(InsertDataOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen InsertDataOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As InsertDataOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- InsertDataOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(MigrationOperation, IModel, MigrationCommandListBuilder)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen MigrationOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As MigrationOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- MigrationOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Açıklamalar
Bu yöntem, belirli bir alt türüne MigrationOperationözgü 'Generate' yöntemlerinden birini çağırmak için çift dağıtma mekanizması kullanır. Genellikle veritabanı sağlayıcıları bu yöntem yerine bu belirli yöntemleri geçersiz kılar. Ancak sağlayıcılar sağlayıcıya özgü işlemleri işlemek için bu yöntemleri geçersiz kılabilir.
Şunlara uygulanır
Generate(RenameColumnOperation, IModel, MigrationCommandListBuilder)
Verilen üzerinde çağrılar MigrationCommandListBuilderyaparak verilen RenameColumnOperation için komutlar oluşturmak üzere veritabanı sağlayıcıları tarafından geçersiz kılınabilir.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As RenameColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- RenameColumnOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Açıklamalar
Bu yöntemin varsayılan uygulamasının oluşturduğunu NotSupportedExceptionunutmayın. Sağlayıcıların bu tür bir işlemi destekleyecekse geçersiz kılmaları gerekir.
Şunlara uygulanır
Generate(RenameIndexOperation, IModel, MigrationCommandListBuilder)
Verilen üzerinde çağrılar MigrationCommandListBuilderyaparak verilen RenameIndexOperation için komutlar oluşturmak üzere veritabanı sağlayıcıları tarafından geçersiz kılınabilir.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As RenameIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- RenameIndexOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Açıklamalar
Bu yöntemin varsayılan uygulamasının oluşturduğunu NotSupportedExceptionunutmayın. Sağlayıcıların bu tür bir işlemi destekleyecekse geçersiz kılmaları gerekir.
Şunlara uygulanır
Generate(RenameSequenceOperation, IModel, MigrationCommandListBuilder)
Verilen üzerinde çağrılar MigrationCommandListBuilderyaparak verilen RenameSequenceOperation için komutlar oluşturmak üzere veritabanı sağlayıcıları tarafından geçersiz kılınabilir.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As RenameSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- RenameSequenceOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Açıklamalar
Bu yöntemin varsayılan uygulamasının oluşturduğunu NotSupportedExceptionunutmayın. Sağlayıcıların bu tür bir işlemi destekleyecekse geçersiz kılmaları gerekir.
Şunlara uygulanır
Generate(RenameTableOperation, IModel, MigrationCommandListBuilder)
Verilen üzerinde çağrılar MigrationCommandListBuilderyaparak verilen RenameTableOperation için komutlar oluşturmak üzere veritabanı sağlayıcıları tarafından geçersiz kılınabilir.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As RenameTableOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- RenameTableOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Açıklamalar
Bu yöntemin varsayılan uygulamasının oluşturduğunu NotSupportedExceptionunutmayın. Sağlayıcıların bu tür bir işlemi destekleyecekse geçersiz kılmaları gerekir.
Şunlara uygulanır
Generate(RestartSequenceOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen RestartSequenceOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As RestartSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- RestartSequenceOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(SqlOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen SqlOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As SqlOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- SqlOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(UpdateDataOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen UpdateDataOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As UpdateDataOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- UpdateDataOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(IReadOnlyList<MigrationOperation>, IModel, MigrationsSqlGenerationOptions)
İşlem listesinden komutlar oluşturur.
public virtual 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 virtual 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);
abstract member 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>
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 Overridable 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
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- options
- MigrationsSqlGenerationOptions
Komut oluştururken kullanılacak seçenekler.
Döndürülenler
Yürütülecek veya betik oluşturulacak komutların listesi.
Uygulamalar
Şunlara uygulanır
Generate(AddColumnOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen AddColumnOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- AddColumnOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen AddForeignKeyOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- AddForeignKeyOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen AddPrimaryKeyOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- AddPrimaryKeyOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen CreateIndexOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- CreateIndexOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(CreateTableOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen CreateTableOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- CreateTableOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(DropColumnOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen DropColumnOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- DropColumnOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen DropForeignKeyOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- DropForeignKeyOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(DropIndexOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde çağrılar MigrationCommandListBuilderyaparak verilen DropIndexOperation için komutlar oluşturmak üzere veritabanı sağlayıcıları tarafından geçersiz kılınabilir.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
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, Optional terminate As Boolean = true)
Parametreler
- operation
- DropIndexOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Açıklamalar
Bu yöntemin varsayılan uygulamasının oluşturduğunu NotSupportedExceptionunutmayın. Sağlayıcıların bu tür bir işlemi destekleyecekse geçersiz kılmaları gerekir.
Şunlara uygulanır
Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen DropPrimaryKeyOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- DropPrimaryKeyOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(DropTableOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen DropTableOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As DropTableOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As DropTableOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- DropTableOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(InsertDataOperation, IModel, MigrationCommandListBuilder, Boolean)
Verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen InsertDataOperation için komutlar oluşturur.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As InsertDataOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As InsertDataOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)
Parametreler
- operation
- InsertDataOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
- terminate
- Boolean
İşlem için SQL oluşturulduktan sonra komutun sonlandırılıp sonlandırılmayacağını gösterir.
Şunlara uygulanır
Generate(EnsureSchemaOperation, IModel, MigrationCommandListBuilder)
Verilen üzerinde çağrılar MigrationCommandListBuilderyaparak verilen EnsureSchemaOperation için komutlar oluşturmak üzere veritabanı sağlayıcıları tarafından geçersiz kılınabilir.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As EnsureSchemaOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- EnsureSchemaOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Açıklamalar
Bu yöntemin varsayılan uygulamasının oluşturduğunu NotSupportedExceptionunutmayın. Sağlayıcıların bu tür bir işlemi destekleyecekse geçersiz kılmaları gerekir.
Şunlara uygulanır
Generate(DropUniqueConstraintOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen DropUniqueConstraintOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropUniqueConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropUniqueConstraintOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(DropSequenceOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen DropSequenceOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropSequenceOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(IReadOnlyList<MigrationOperation>, IModel)
İşlem listesinden komutlar oluşturur.
public virtual 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);
abstract member Generate : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Metadata.IModel -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
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 Overridable Function Generate (operations As IReadOnlyList(Of MigrationOperation), Optional model As IModel = Nothing) As IReadOnlyList(Of MigrationCommand)
Parametreler
- operations
- IReadOnlyList<MigrationOperation>
İşlemler.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
Döndürülenler
Yürütülecek veya betik oluşturulacak komutların listesi.
Uygulamalar
Şunlara uygulanır
Generate(AddColumnOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen AddColumnOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AddColumnOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen AddForeignKeyOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AddForeignKeyOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen AddPrimaryKeyOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AddPrimaryKeyOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(AddUniqueConstraintOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen AddUniqueConstraintOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AddUniqueConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AddUniqueConstraintOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(AlterColumnOperation, IModel, MigrationCommandListBuilder)
Verilen üzerinde çağrılar MigrationCommandListBuilderyaparak verilen AlterColumnOperation için komutlar oluşturmak üzere veritabanı sağlayıcıları tarafından geçersiz kılınabilir.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AlterColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AlterColumnOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Açıklamalar
Bu yöntemin varsayılan uygulamasının oluşturduğunu NotSupportedExceptionunutmayın. Sağlayıcıların bu tür bir işlemi destekleyecekse geçersiz kılmaları gerekir.
Şunlara uygulanır
Generate(AlterDatabaseOperation, IModel, MigrationCommandListBuilder)
Verilen üzerinde çağrılar MigrationCommandListBuilderyaparak verilen AlterDatabaseOperation için komutlar oluşturmak üzere veritabanı sağlayıcıları tarafından geçersiz kılınabilir.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AlterDatabaseOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AlterDatabaseOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Açıklamalar
Bu yöntemin varsayılan uygulaması olmadığını unutmayın. Sağlayıcıların bu tür bir işlemi destekleyecekse geçersiz kılmaları gerekir.
Şunlara uygulanır
Generate(AlterSequenceOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen AlterSequenceOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AlterSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AlterSequenceOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(AlterTableOperation, IModel, MigrationCommandListBuilder)
Verilen üzerinde çağrılar MigrationCommandListBuilderyaparak verilen AlterTableOperation için komutlar oluşturmak üzere veritabanı sağlayıcıları tarafından geçersiz kılınabilir.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AlterTableOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AlterTableOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Açıklamalar
Bu yöntemin varsayılan uygulamasının hiçbir şey yapmaz çünkü bu işlemle ilgili ortak meta veriler yoktur. Sağlayıcıların yalnızca işlenmesi gereken sağlayıcıya özgü ek açıklamaları varsa bu yöntemi geçersiz kılmaları gerekir.
Şunlara uygulanır
Generate(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen CreateCheckConstraintOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As CreateCheckConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- CreateCheckConstraintOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen CreateIndexOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- CreateIndexOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(CreateSequenceOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen CreateSequenceOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As CreateSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- CreateSequenceOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(CreateTableOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen CreateTableOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- CreateTableOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(DeleteDataOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen DeleteDataOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DeleteDataOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DeleteDataOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(DropCheckConstraintOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen DropCheckConstraintOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropCheckConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropCheckConstraintOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(DropColumnOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen DropColumnOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropColumnOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde çağrılar yaparak verilen DropForeignKeyOperationMigrationCommandListBuilderiçin komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropForeignKeyOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(DropIndexOperation, IModel, MigrationCommandListBuilder)
Verilen üzerinde çağrılar MigrationCommandListBuilderyaparak verilen DropIndexOperation için komutlar oluşturmak üzere veritabanı sağlayıcıları tarafından geçersiz kılınabilir.
Bu yöntemin varsayılan uygulamasının oluşturduğunu NotImplementedExceptionunutmayın. Sağlayıcıların bu tür bir işlemi destekleyecekse geçersiz kılmaları gerekir.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropIndexOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları derlemek için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen DropPrimaryKeyOperation için komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropPrimaryKeyOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları oluşturmak için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(DropSchemaOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen DropSchemaOperation için komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropSchemaOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropSchemaOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları oluşturmak için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen AddCheckConstraintOperation için komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AddCheckConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- AddCheckConstraintOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları oluşturmak için kullanılacak komut oluşturucu.
Şunlara uygulanır
Generate(DropTableOperation, IModel, MigrationCommandListBuilder)
verilen üzerinde MigrationCommandListBuilderçağrılar yaparak verilen DropTableOperation için komutlar oluşturur ve ardından son komutu sonlandırır.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropTableOperation, model As IModel, builder As MigrationCommandListBuilder)
Parametreler
- operation
- DropTableOperation
İşlem.
- model
- IModel
İşlemlerin bir model olmadan mevcut olması null
durumunda olabilecek hedef model.
- builder
- MigrationCommandListBuilder
Komutları oluşturmak için kullanılacak komut oluşturucu.
Şunlara uygulanır
Entity Framework