Bagikan melalui


MigrationsSqlGenerator.CreateTableColumns Metode

Definisi

Menghasilkan fragmen SQL untuk definisi kolom dalam 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)

Parameter

operation
CreateTableOperation

Operasinya.

model
IModel

Model target yang mungkin null jika operasi ada tanpa model.

builder
MigrationCommandListBuilder

Penyusun perintah yang digunakan untuk menambahkan fragmen SQL.

Berlaku untuk