SqlModelComparer Class
Class that is used to compare a source and target schema model.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.SchemaModel.ModelComparer
Microsoft.Data.Schema.Sql.SchemaModel.SqlModelComparer
Microsoft.Data.Schema.Sql.SchemaModel.Sql80ModelComparer
Microsoft.Data.Schema.Sql.SchemaModel.Sql90ModelComparer
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public MustInherit Class SqlModelComparer _
Inherits ModelComparer
public abstract class SqlModelComparer : ModelComparer
public ref class SqlModelComparer abstract : public ModelComparer
[<AbstractClass>]
type SqlModelComparer =
class
inherit ModelComparer
end
public abstract class SqlModelComparer extends ModelComparer
The SqlModelComparer type exposes the following members.
Properties
Name | Description | |
---|---|---|
DatabaseSchemaProvider | Gets the database schema provider for this comparer. | |
Schema | Gets the schema that is associated with the comparer. |
Top
Methods
Name | Description | |
---|---|---|
ArePropertiesEqual | Returns a value that indicates whether the properties of two elements are equal. (Overrides ModelComparer.ArePropertiesEqual(IModelElement, IModelElement, ModelPropertyClass, ModelComparerConfiguration).) | |
Cancel | Cancels comparison. (Inherited from ModelComparer.) | |
Compare(IModelElement, IModelElement) | Compares two elements without a filter. (Inherited from ModelComparer.) | |
Compare(ModelStore, ModelStore) | Compares two models without a filter. (Inherited from ModelComparer.) | |
Compare(IModelElement, IModelElement, ModelComparerConfiguration) | Compares two elements. (Inherited from ModelComparer.) | |
Compare(ModelStore, ModelStore, ModelComparerConfiguration) | Compares two models with a passed-in filter. (Inherited from ModelComparer.) | |
CompareRelationship | Compares a relationship in the source and target models. (Overrides ModelComparer.CompareRelationship(IModelRelationship, IModelRelationship, ModelComparerConfiguration, ModelComparisonChangeDefinition).) | |
CreateDefaultConfiguration | Creates the default comparison configuration. (Overrides ModelComparer.CreateDefaultConfiguration().) | |
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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnCompareElementFinished | Called when the comparison of an element has completed. (Overrides ModelComparer.OnCompareElementFinished(IModelElement, IModelElement, ModelComparerConfiguration, ModelComparisonResult, ModelComparisonChangeDefinition).) | |
OnCompareModelFinished | Called when the model comparison has completed. (Overrides ModelComparer.OnCompareModelFinished(ModelStore, ModelStore, ModelComparerConfiguration, ModelComparisonResult).) | |
OnCompareModelStarted | Called when the model comparison has started. (Overrides ModelComparer.OnCompareModelStarted(ModelStore, ModelStore, ModelComparerConfiguration).) | |
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.