次の方法で共有


IndexAnnotation.IsCompatibleWith(Object) メソッド

定義

この注釈が指定された注釈と競合しない場合は true を返します。これにより、 メソッドを使用して MergeWith(Object) 2 つの注釈を組み合わせることができます。

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。

実装

注釈

各インデックス注釈には、指定された名前を持つ最大 1 つが IndexAttribute 含まれます。 特定の名前を持つ各 IndexAttribute が 1 つの注釈または他方にのみ含まれている場合、または両方の注釈に指定された名前の IndexAttribute が含まれている場合、2 つの注釈は互換性と見なされます。

適用対象