Share via


SqlServerStoreGenerationConvention 클래스

정의

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

public class SqlServerStoreGenerationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.StoreGenerationConvention
type SqlServerStoreGenerationConvention = class
    inherit StoreGenerationConvention
Public Class SqlServerStoreGenerationConvention
Inherits StoreGenerationConvention
상속
SqlServerStoreGenerationConvention

설명

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

생성자

SqlServerStoreGenerationConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

SqlServerStoreGenerationConvention의 새 인스턴스를 만듭니다.

속성

Dependencies

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

(다음에서 상속됨 StoreGenerationConvention)
RelationalDependencies

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

(다음에서 상속됨 StoreGenerationConvention)

메서드

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

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

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

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

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

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

Validate(IConventionProperty)

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

Validate(IConventionProperty)

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

(다음에서 상속됨 StoreGenerationConvention)
Validate(IConventionProperty, StoreObjectIdentifier)

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

Validate(IConventionProperty, StoreObjectIdentifier)

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

(다음에서 상속됨 StoreGenerationConvention)

적용 대상