IndexAnnotation.MergeWith(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Merges this annotation with the given annotation and returns a new annotation containing the merged indexes.
public virtual object MergeWith (object other);
abstract member MergeWith : obj -> obj
override this.MergeWith : obj -> obj
Public Overridable Function MergeWith (other As Object) As Object
Parameters
- other
- Object
The annotation to merge with this one.
Returns
A new annotation with indexes from both annotations merged.
Implements
Exceptions
The other annotation contains indexes that are not compatible with indexes in this annotation.
Remarks
Each index annotation contains at most one IndexAttribute with a given name. The merged annotation will contain IndexAttributes from both this and the other annotation. If both annotations contain an IndexAttribute with the same name, then the merged annotation will contain one IndexAttribute with that name.
Applies to
Entity Framework