MigrationsSqlGenerator.CreateTableCheckConstraints 메서드

정의

의 검사 제약 조건에 대한 SQL 조각을 생성합니다CreateTableOperation.

protected virtual void CreateTableCheckConstraints (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void CreateTableCheckConstraints (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member CreateTableCheckConstraints : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.CreateTableCheckConstraints : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub CreateTableCheckConstraints (operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
CreateTableOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

SQL 조각을 추가하는 데 사용할 명령 작성기입니다.

적용 대상