Share via


ModelComparisonChangeDefinition Class

Contains details on changes to the target IModelElement object that has been compared to a source element.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.SchemaModel.ModelComparisonChangeDefinition

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public NotInheritable Class ModelComparisonChangeDefinition
public sealed class ModelComparisonChangeDefinition
public ref class ModelComparisonChangeDefinition sealed
[<Sealed>]
type ModelComparisonChangeDefinition =  class end
public final class ModelComparisonChangeDefinition

The ModelComparisonChangeDefinition type exposes the following members.

Constructors

  Name Description
Public method ModelComparisonChangeDefinition(IModelElement) Initializes a new instance of the ModelComparisonChangeDefinition class by using the provided target element.
Public method ModelComparisonChangeDefinition(ModelComparisonChangeDefinition) Initializes a new instance of the ModelComparisonChangeDefinition class by using the provided change definition.
Public method ModelComparisonChangeDefinition(IModelElement, Boolean) Initializes a new instance of the ModelComparisonChangeDefinition class by using the provided target element and by indicating whether the name has changed.

Top

Properties

  Name Description
Public property ComposingChildrenEqual Gets a list of composing child elements that are equal.
Public property ComposingChildrenEquivalent
Public property ComposingChildrenModified Gets a list of composing child elements that have changed.
Public property ComposingChildrenOrderChanged Gets a list of composing child elements that have changed order.
Public property ComposingChildrenToAdd Gets a list of composing child elements that occur in the source and must be added to the target element.
Public property ComposingChildrenToDrop Gets a list of composing child elements that occur in the target and must be removed from the source element.
Public property DangleRelationshipsFromSource Disconnects the related element from the relating element in a relationship.
Public property DangleRelationshipsFromTarget Disconnects the relating element from the related element in a relationship.
Public property HavingDangleRelationships Gets a value that indicates whether one or more relationships have lost connection between the participating elements.
Public property HierarchicalChildrenEqual Gets a value that indicates whether there are two or more identical hierarchical child relationships.
Public property HierarchicalChildrenEquivalent
Public property HierarchicalChildrenModified Gets a list of information about the hierarchical child elements that have been modified.
Public property HierarchicalChildrenOrderChanged Gets a list of information about the hierarchical child relationships that have been moved to a different order in the list.
Public property HierarchicalChildrenToAdd Gets a list of relationship metadata and the corresponding hierarchical child elements that will be added to the element.
Public property HierarchicalChildrenToDrop Gets a list of relationship metadata objects and their corresponding target hierarchical child elements that will be dropped from the element.
Public property IsComposingChildrenChanged Gets a value that indicates whether any composing child elements in the target element have changed.
Public property IsComposingChildrenDefinitionChanged Gets a value that indicates whether any composing child definitions in the target element have changed.
Public property IsDefinitionChanged Gets a value that indicates whether the change definition has changed.
Public property IsEqual Gets a value that indicates whether the source element and the target element are equal.
Public property IsHierarchicalChildrenChanged Gets a value that indicates whether any hierarchical child elements in the target element have been added, dropped, changed, or moved.
Public property IsPropertiesChanged Gets a value that indicates whether any property values in the target element have changed.
Public property IsRelationshipEntriesChanged Gets a value that indicates whether any relationship entries in the target element have changed.
Public property IsSameName Gets a value that indicates whether any child elements have the same name.
Public property PropertiesEqual Gets a list of properties in the target element that are equal.
Public property PropertiesModified Gets a list of properties in the target element that have been modified.
Public property RelationshipEntriesEqual Gets a list of relationship entries that are equal.
Public property RelationshipEntriesOrderChanged Gets a list of relationship entries in the target element where the entry order has changed.
Public property RelationshipEntriesToAdd Gets a list of relationship entries that must be added to the target element.
Public property RelationshipEntriesToDrop Gets a list of relationship entries that must be dropped from the target element.
Public property TargetElement Gets the target IModelElement object.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Normalize Normalizes the data model that is represented by the element and its structure.
Public method 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.

See Also

Reference

Microsoft.Data.Schema.SchemaModel Namespace

IModelElement