언어

SqlServerStoreGenerationConvention 클래스

정의

속성이 기본값(계산 열 또는 동시에 사용 SqlServerValueGenerationStrategy )으로 구성되지 않도록 하는 규칙입니다.

[System.Runtime.CompilerServices.Nullable(0)]
public class SqlServerStoreGenerationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.StoreGenerationConvention
public class SqlServerStoreGenerationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.StoreGenerationConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqlServerStoreGenerationConvention = class
    inherit StoreGenerationConvention
type SqlServerStoreGenerationConvention = class
    inherit StoreGenerationConvention
Public Class SqlServerStoreGenerationConvention
Inherits StoreGenerationConvention
상속
SqlServerStoreGenerationConvention
특성

설명

자세한 내용 및 예제는 모델 빌드 규칙 및 EF Core를 사용하여 SQL Server 및 Azure SQL 데이터베이스에 액세스하는 것을 참조하세요.

생성자

속성 Description
SqlServerStoreGenerationConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

SqlServerStoreGenerationConvention새 인스턴스를 생성합니다.

속성

속성 Description
Dependencies

이 서비스에 대한 종속성입니다.

(다음에서 상속됨 StoreGenerationConvention)
RelationalDependencies

이 서비스에 대한 관계형 공급자별 종속성입니다.

(다음에서 상속됨 StoreGenerationConvention)

메서드

속성 Description
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

모델이 완료된 후 호출됩니다.

(다음에서 상속됨 StoreGenerationConvention)
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

모델을 완료할 때 호출됩니다.

(다음에서 상속됨 StoreGenerationConvention)
ProcessPropertyAnnotationChanged(IConventionPropertyBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)

속성에서 주석이 변경된 후 호출됩니다.

Validate(IConventionProperty, StoreObjectIdentifier)

이 속성에 대해 충돌하는 저장소 생성 구성이 있는 경우 throw합니다.

Validate(IConventionProperty)

속성이 기본값(계산 열 또는 동시에 사용 SqlServerValueGenerationStrategy )으로 구성되지 않도록 하는 규칙입니다.

적용 대상