다음을 통해 공유


IndexAnnotation.IsCompatibleWith(Object) 메서드

정의

메서드를 사용하여 두 주석을 함께 결합할 수 있도록 이 주석이 지정된 주석과 충돌하지 않으면 true를 MergeWith(Object) 반환합니다.

public virtual System.Data.Entity.Infrastructure.Annotations.CompatibilityResult IsCompatibleWith(object other);
abstract member IsCompatibleWith : obj -> System.Data.Entity.Infrastructure.Annotations.CompatibilityResult
override this.IsCompatibleWith : obj -> System.Data.Entity.Infrastructure.Annotations.CompatibilityResult
Public Overridable Function IsCompatibleWith (other As Object) As CompatibilityResult

매개 변수

other
Object

비교할 주석입니다.

반환

이 주석이 다른 주석과 호환되는지 여부를 나타내는 CompatibilityResult입니다.

구현

설명

각 인덱스 주석에는 지정된 이름의 주석이 하나 이상 IndexAttribute 포함됩니다. 지정된 이름의 각 IndexAttribute가 하나의 주석이나 다른 주석에만 포함되거나 두 주석에 지정된 이름의 IndexAttribute가 포함된 경우 두 주석이 호환되는 것으로 간주됩니다.

적용 대상