ModelComparisonResult Class
Represents the SchemaModel comparison result.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public NotInheritable Class ModelComparisonResult
public sealed class ModelComparisonResult
public ref class ModelComparisonResult sealed
[<Sealed>]
type ModelComparisonResult = class end
public final class ModelComparisonResult
The ModelComparisonResult type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelComparisonResult() | Initializes a new instance of the ModelComparisonResult class. | |
ModelComparisonResult(ModelComparisonResult) | Initializes a new instance of the ModelComparisonResult class. |
Top
Properties
Name | Description | |
---|---|---|
ElementGroupsEqual | ||
ElementsChanged | Gets a collection of elements that are changed. | |
ElementsComposingChildrenChanged | ||
ElementsEqual | Gets a collection of elements that have no changes. | |
ElementsHierarchicalChildrenChanged | Gets a collection of elements that are changed because hierarchical children are changed. | |
ElementsPropertyChanged | Gets a collection of elements that are changed because properties are changed. | |
ElementsRelationshipEntryChanged | Gets a collection of elements that are changed because relationship entries are added or dropped. | |
ElementsToAdd | Gets a collection of elements that are located in the source but not in the target. | |
ElementsToDrop | Gets a collection of elements that are located in the target but not in the source. | |
IsEqual | Returns a value that indicates whether compared elements are equal. |
Top
Methods
Name | Description | |
---|---|---|
AddToAddElementList(IModelElement) | Adds an element to the add element list. | |
AddToAddElementList(IList<IModelElement>) | Adds elements to the add element list. | |
AddToChangedElementList(IDictionary<IModelElement, ModelComparisonChangeDefinition>) | ||
AddToChangedElementList(IModelElement, ModelComparisonChangeDefinition) | ||
AddToDropElementList(IModelElement) | Adds an element to the drop elements list. | |
AddToDropElementList(IList<IModelElement>) | Adds a list of elements to the drop elements list. | |
AddToEqualElementGroupList | ||
AddToEqualElementList(IDictionary<IModelElement, IModelElement>) | Adds a list of elements to the equal elements list. | |
AddToEqualElementList(IModelElement, IModelElement) | Adds an element that is equal from the source to the target. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
ExcludeResults | Filters the comparison result with excluded types. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetResultType | Returns the result type for this element. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Normalize | Iterates changed elements and determines whether any difference in the change definition exists. If the result was modified and nothing is changed, the element is added to the equal list. | |
RemoveFromAddElementList(IModelElement) | Removes an element from the add elements list. | |
RemoveFromAddElementList(IList<IModelElement>) | Removes a list of elements from the add elements list. | |
RemoveFromChangedElementList(IModelElement) | Removes an element from the changed elements list. | |
RemoveFromChangedElementList(IList<IModelElement>) | Removes a list of elements from the changed elements list. | |
RemoveFromDropElementList(IModelElement) | Removes an element from the drop elements list. | |
RemoveFromDropElementList(IList<IModelElement>) | Removes a list of elements from the drop elements list. | |
RemoveFromEqualElementGroupList | ||
RemoveFromEqualElementList(IModelElement) | Removes an element from the equal elements list. | |
RemoveFromEqualElementList(IList<IModelElement>) | Removes a list of elements from the equal elements list. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.