언어

SqlServerRuntimeModelConvention 클래스

정의

변경 가능한 모델의 최적화된 복사본을 만드는 규칙입니다.

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

설명

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

생성자

속성 Description
SqlServerRuntimeModelConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

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

속성

속성 Description
Dependencies

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

(다음에서 상속됨 RuntimeModelConvention)
RelationalDependencies

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

(다음에서 상속됨 RelationalRuntimeModelConvention)

메서드

속성 Description
Create(IModel)

제공된 모델 기반에 최적화된 모델 기반을 만듭니다.

(다음에서 상속됨 RuntimeModelConvention)
GetForeignKey(IForeignKey, RuntimeEntityType)

읽기 최적화 모델에서 해당 외래 키를 가져옵니다.

(다음에서 상속됨 RuntimeModelConvention)
GetIndex(IIndex, RuntimeEntityType)

읽기 최적화 모델에서 해당 인덱스 가져옵니다.

(다음에서 상속됨 RuntimeModelConvention)
GetKey(IKey, RuntimeEntityType)

읽기 최적화 모델에서 해당 키를 가져옵니다.

(다음에서 상속됨 RuntimeModelConvention)
ProcessComplexPropertyAnnotations(Dictionary<String,Object>, IComplexProperty, RuntimeComplexProperty, Boolean)

읽기 전용 개체에 설정할 속성 주석을 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessComplexTypeAnnotations(Dictionary<String,Object>, IComplexType, RuntimeComplexType, Boolean)

읽기 전용 개체에 설정할 복합 형식 주석을 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessElementTypeAnnotations(Dictionary<String,Object>, IElementType, RuntimeElementType, Boolean)

읽기 전용 개체에 설정할 요소 형식 주석을 업데이트합니다.

(다음에서 상속됨 RuntimeModelConvention)
ProcessEntityTypeAnnotations(Dictionary<String,Object>, IEntityType, RuntimeEntityType, Boolean)

읽기 전용 개체에 설정할 엔터티 형식 주석을 업데이트합니다.

ProcessEntityTypeAnnotations(IDictionary<String,Object>, IEntityType, RuntimeEntityType, Boolean)

읽기 전용 개체에 설정할 엔터티 형식 주석을 업데이트합니다.

ProcessEntityTypeMappingFragmentAnnotations(Dictionary<String,Object>, IEntityTypeMappingFragment, RuntimeEntityTypeMappingFragment, Boolean)

관계형 속성이 읽기 전용 개체에 설정할 주석을 재정의하도록 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessForeignKeyAnnotations(Dictionary<String,Object>, IForeignKey, RuntimeForeignKey, Boolean)

읽기 전용 개체에 설정할 외래 키 주석을 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessFunctionAnnotations(Dictionary<String,Object>, IDbFunction, RuntimeDbFunction, Boolean)

읽기 전용 개체에 설정할 함수 주석을 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessFunctionParameterAnnotations(Dictionary<String,Object>, IDbFunctionParameter, RuntimeDbFunctionParameter, Boolean)

읽기 전용 개체에 설정할 함수 매개 변수 주석을 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessIndexAnnotations(Dictionary<String,Object>, IIndex, RuntimeIndex, Boolean)

읽기 전용 개체에 설정할 인덱스 주석을 업데이트합니다.

ProcessKeyAnnotations(Dictionary<String,Object>, IKey, RuntimeKey, Boolean)

읽기 전용 개체에 설정할 키 주석을 업데이트합니다.

ProcessKeyAnnotations(IDictionary<String,Object>, IKey, RuntimeKey, Boolean)

읽기 전용 개체에 설정할 키 주석을 업데이트합니다.

ProcessModelAnnotations(Dictionary<String,Object>, IModel, RuntimeModel, Boolean)

읽기 전용 개체에 설정할 모델 주석을 업데이트합니다.

ProcessModelFinalized(IModel)

모델이 종료되고 더 이상 변경할 수 없는 후에 호출됩니다.

(다음에서 상속됨 RuntimeModelConvention)
ProcessNavigationAnnotations(Dictionary<String,Object>, INavigation, RuntimeNavigation, Boolean)

읽기 전용 개체에 설정할 탐색 주석을 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessPropertyAnnotations(Dictionary<String,Object>, IProperty, RuntimeProperty, Boolean)

읽기 전용 개체에 설정할 속성 주석을 업데이트합니다.

ProcessPropertyOverridesAnnotations(Dictionary<String,Object>, IRelationalPropertyOverrides, RuntimeRelationalPropertyOverrides, Boolean)

관계형 속성이 읽기 전용 개체에 설정할 주석을 재정의하도록 업데이트합니다.

ProcessPropertyOverridesAnnotations(Dictionary<String,Object>, IRelationalPropertyOverrides, RuntimeRelationalPropertyOverrides, Boolean)

관계형 속성이 읽기 전용 개체에 설정할 주석을 재정의하도록 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessSequenceAnnotations(Dictionary<String,Object>, ISequence, RuntimeSequence, Boolean)

읽기 전용 개체에 설정할 시퀀스 주석을 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessServicePropertyAnnotations(Dictionary<String,Object>, IServiceProperty, RuntimeServiceProperty, Boolean)

읽기 전용 개체에 설정할 서비스 속성 주석을 업데이트합니다.

(다음에서 상속됨 RuntimeModelConvention)
ProcessSkipNavigationAnnotations(Dictionary<String,Object>, ISkipNavigation, RuntimeSkipNavigation, Boolean)

읽기 전용 개체에 설정할 건너뛰기 탐색 주석을 업데이트합니다.

(다음에서 상속됨 RuntimeModelConvention)
ProcessStoredProcedureAnnotations(Dictionary<String,Object>, IStoredProcedure, RuntimeStoredProcedure, Boolean)

읽기 전용 개체에 설정할 저장 프로시저 주석을 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessStoredProcedureParameterAnnotations(Dictionary<String,Object>, IStoredProcedureParameter, RuntimeStoredProcedureParameter, Boolean)

읽기 전용 개체에 설정할 저장 프로시저 매개 변수 주석을 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessStoredProcedureResultColumnAnnotations(Dictionary<String,Object>, IStoredProcedureResultColumn, RuntimeStoredProcedureResultColumn, Boolean)

읽기 전용 개체에 설정할 저장 프로시저 결과 열 주석을 업데이트합니다.

(다음에서 상속됨 RelationalRuntimeModelConvention)
ProcessTriggerAnnotations(Dictionary<String,Object>, ITrigger, RuntimeTrigger, Boolean)

읽기 전용 개체에 설정할 트리거 주석을 업데이트합니다.

(다음에서 상속됨 RuntimeModelConvention)
ProcessTypeMappingConfigurationAnnotations(Dictionary<String,Object>, ITypeMappingConfiguration, RuntimeTypeMappingConfiguration, Boolean)

읽기 전용 개체에 설정할 속성 주석을 업데이트합니다.

(다음에서 상속됨 RuntimeModelConvention)

적용 대상