IndexAnnotation.IsCompatibleWith Method (Object)
Returns true if this annotation does not conflict with the given annotation such that the two can be combined together using the MergeWith method.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- other
-
Type:
System.Object
The annotation to compare.
Return Value
Type: System.Data.Entity.Infrastructure.Annotations.CompatibilityResultA CompatibilityResult indicating whether or not this annotation is compatible with the other.
Each index annotation contains at most one IndexAttribute with a given name. Two annotations are considered compatible if each IndexAttribute with a given name is only contained in one annotation or the other, or if both annotations contain an IndexAttribute with the given name.