ModelComparisonFilter Class
Represents a filter that can be defined for comparison.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.SchemaModel.ModelComparisonFilter
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public NotInheritable Class ModelComparisonFilter
public sealed class ModelComparisonFilter
public ref class ModelComparisonFilter sealed
[<Sealed>]
type ModelComparisonFilter = class end
public final class ModelComparisonFilter
The ModelComparisonFilter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelComparisonFilter(ModelSchema) | Initializes a new instance of the ModelComparisonFilter class. | |
ModelComparisonFilter(ModelSchema, ICollection<Type>) | Initializes a new instance of the ModelComparisonFilter class. | |
ModelComparisonFilter(ModelSchema, ICollection<ModelPropertyClass>, ICollection<ModelRelationshipClass>) | ||
ModelComparisonFilter(ModelSchema, ICollection<ModelElementClass>, ICollection<ModelPropertyClass>, ICollection<ModelRelationshipClass>) | ||
ModelComparisonFilter(ModelSchema, ICollection<Type>, ICollection<ModelPropertyClass>, ICollection<ModelRelationshipClass>) |
Top
Properties
Name | Description | |
---|---|---|
ElementTypesIncluded | Gets a collection of the element types that are included in the comparison. | |
ExcludedPropertyClasses | Gets a collection of properties that are excluded during comparison. | |
ExcludedRelationshipClasses | Gets a collection of relationships that are excluded during comparison. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
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.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsElementTypeExplicitlyIncluded | ||
IsPropertyClassExcluded | ||
IsRelationshipClassExcluded | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
A list of properties can be defined to be excluded during comparison. Also, a list of relationships can be defined to be excluded during comparison.
Collation of the comparison used can use source collation or target collation. The user can also use elements in the source model as the base; in that case, anything in the target but not in the source will not be treated as drop.
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.