SqlServerStoreGenerationConvention 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
속성이 계산 열 또는 를 동시에 사용하도록 기본값을 갖도록 구성되지 않도록 하는 SqlServerValueGenerationStrategy 규칙입니다.
public class SqlServerStoreGenerationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.StoreGenerationConvention
type SqlServerStoreGenerationConvention = class
inherit StoreGenerationConvention
Public Class SqlServerStoreGenerationConvention
Inherits StoreGenerationConvention
- 상속
설명
자세한 내용과 예제는 모델 빌드 규칙 및 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) |
적용 대상
Entity Framework
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기