MigrationsSqlGenerator.CreateTableColumns Yöntem

Tanım

içindeki sütun tanımları için bir CreateTableOperationSQL parçası oluşturur.

protected virtual void CreateTableColumns (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void CreateTableColumns (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member CreateTableColumns : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.CreateTableColumns : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub CreateTableColumns (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

SQL parçasını eklemek için kullanılacak komut oluşturucu.

Şunlara uygulanır