다음을 통해 공유


RelationalModelValidator.ValidateCompatible 메서드

정의

오버로드

ValidateCompatible(ITrigger, ITrigger, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

이름이 같은 두 트리거의 호환성 유효성을 검사합니다.

ValidateCompatible(IProperty, IProperty, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

동일한 열에 매핑된 두 속성의 호환성을 확인합니다.

ValidateCompatible(IKey, IKey, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

동일한 고유 제약 조건에 매핑된 두 키의 호환성의 유효성을 검사합니다.

ValidateCompatible(IForeignKey, IForeignKey, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

동일한 외래 키 제약 조건에 매핑된 두 외래 키의 호환성을 확인합니다.

ValidateCompatible(ICheckConstraint, ICheckConstraint, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

이름이 같은 두 검사 제약 조건의 호환성을 확인합니다.

ValidateCompatible(IIndex, IIndex, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

동일한 테이블 인덱스에 매핑된 두 인덱스의 호환성을 확인합니다.

ValidateCompatible(ITrigger, ITrigger, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

이름이 같은 두 트리거의 호환성 유효성을 검사합니다.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, Microsoft.EntityFrameworkCore.Metadata.ITrigger duplicateTrigger, string indexName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Metadata.ITrigger * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Metadata.ITrigger * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (trigger As ITrigger, duplicateTrigger As ITrigger, indexName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

매개 변수

trigger
ITrigger

트리거입니다.

duplicateTrigger
ITrigger

또 다른 트리거입니다.

indexName
String

트리거의 이름입니다.

storeObject
StoreObjectIdentifier

저장소 개체의 식별자입니다.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 로거입니다.

적용 대상

ValidateCompatible(IProperty, IProperty, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

동일한 열에 매핑된 두 속성의 호환성을 확인합니다.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.IProperty duplicateProperty, string columnName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IProperty * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IProperty * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (property As IProperty, duplicateProperty As IProperty, columnName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

매개 변수

property
IProperty

속성입니다.

duplicateProperty
IProperty

다른 속성입니다.

columnName
String

열 이름입니다.

storeObject
StoreObjectIdentifier

저장소 개체의 식별자입니다.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 로거입니다.

적용 대상

ValidateCompatible(IKey, IKey, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

동일한 고유 제약 조건에 매핑된 두 키의 호환성의 유효성을 검사합니다.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.IKey duplicateKey, string keyName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.IKey * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.IKey * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (key As IKey, duplicateKey As IKey, keyName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

매개 변수

key
IKey

키.

duplicateKey
IKey

또 다른 키입니다.

keyName
String

고유 제약 조건의 이름입니다.

storeObject
StoreObjectIdentifier

저장소 개체의 식별자입니다.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 로거입니다.

적용 대상

ValidateCompatible(IForeignKey, IForeignKey, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

동일한 외래 키 제약 조건에 매핑된 두 외래 키의 호환성을 확인합니다.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.IForeignKey duplicateForeignKey, string foreignKeyName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (foreignKey As IForeignKey, duplicateForeignKey As IForeignKey, foreignKeyName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

매개 변수

foreignKey
IForeignKey

외래 키입니다.

duplicateForeignKey
IForeignKey

또 다른 외래 키입니다.

foreignKeyName
String

외래 키 제약 조건 이름입니다.

storeObject
StoreObjectIdentifier

저장소 개체의 식별자입니다.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 로거입니다.

적용 대상

ValidateCompatible(ICheckConstraint, ICheckConstraint, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

이름이 같은 두 검사 제약 조건의 호환성을 확인합니다.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint duplicateCheckConstraint, string indexName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (checkConstraint As ICheckConstraint, duplicateCheckConstraint As ICheckConstraint, indexName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

매개 변수

checkConstraint
ICheckConstraint

검사 제약 조건입니다.

duplicateCheckConstraint
ICheckConstraint

또 다른 검사 제약 조건입니다.

indexName
String

검사 제약 조건의 이름입니다.

storeObject
StoreObjectIdentifier

저장소 개체의 식별자입니다.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 로거입니다.

적용 대상

ValidateCompatible(IIndex, IIndex, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

동일한 테이블 인덱스에 매핑된 두 인덱스의 호환성을 확인합니다.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Metadata.IIndex duplicateIndex, string indexName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.IIndex * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.IIndex * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (index As IIndex, duplicateIndex As IIndex, indexName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

매개 변수

index
IIndex

인덱스.

duplicateIndex
IIndex

다른 인덱스입니다.

indexName
String

인덱스의 이름입니다.

storeObject
StoreObjectIdentifier

저장소 개체의 식별자입니다.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 로거입니다.

적용 대상