Delen via


ModelComparisonResult Class

SchemaModel compare result. Contains same elements list, elements needed to add to target list, elements needed to drop in target list, and changed elements list.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dac.Deployment.ModelComparisonResult

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public NotInheritable Class ModelComparisonResult
'Usage
Dim instance As ModelComparisonResult
public sealed class ModelComparisonResult
public ref class ModelComparisonResult sealed
[<SealedAttribute>]
type ModelComparisonResult =  class end
public final class ModelComparisonResult

The ModelComparisonResult type exposes the following members.

Properties

  Name Description
Public property ElementGroupsEqual List of element groups that are equal
Public property ElementsChanged List of elements are changed. The result will keyed by elements in source, and it will have what are the changes together with that changed element.
Public property ElementsComposingChildrenChanged List of elements changed because of composed children are changed.
Public property ElementsEqual List of elements that have no changes
Public property ElementsHierarchicalChildrenChanged List of elements changed because of hierarchical dhildren are changed.
Public property ElementsPropertyChanged List of elements changed because of properties are changed.
Public property ElementsRelationshipEntryChanged List of elements changed because of relationship entries are added or dropped
Public property ElementsToAdd List of elements exists in source, does not exist in target
Public property ElementsToDrop List of elements exists in target, does not exist in source
Public property IsEqual If compared elements are equal

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (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.SqlServer.Dac.Deployment Namespace