Udostępnij za pośrednictwem


MigrationsSqlGenerator.CreateTableColumns Metoda

Definicja

Generuje fragment SQL definicji kolumn w obiekcie CreateTableOperation.

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)

Parametry

operation
CreateTableOperation

Operacja.

model
IModel

Model docelowy, który może mieć wartość null , jeśli operacje istnieją bez modelu.

builder
MigrationCommandListBuilder

Konstruktor poleceń używany do dodawania fragmentu SQL.

Dotyczy