用于比较源架构模型和目标架构模型的类。
继承层次结构
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
命名空间:  Microsoft.Data.Schema.Sql.SchemaModel
程序集:  Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)
语法
声明
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
SqlModelComparer 类型公开以下成员。
属性
页首
方法
| .gif) | ArePropertiesEqual | 返回一个值,该值指示两个元素的属性是否相等。 (重写 ModelComparer.ArePropertiesEqual(IModelElement, IModelElement, ModelPropertyClass, ModelComparerConfiguration)。) | 
| .gif) | Cancel | 取消比较。 (继承自 ModelComparer。) | 
| .gif) | Compare(IModelElement, IModelElement) | 在不使用筛选器的情况下比较两个元素。 (继承自 ModelComparer。) | 
| .gif) | Compare(ModelStore, ModelStore) | 在不使用筛选器的情况下比较两个模型。 (继承自 ModelComparer。) | 
| .gif) | Compare(IModelElement, IModelElement, ModelComparerConfiguration) | 比较两个元素。 (继承自 ModelComparer。) | 
| .gif) | Compare(ModelStore, ModelStore, ModelComparerConfiguration) | 在使用传入筛选器的情况下比较两个模型。 (继承自 ModelComparer。) | 
| .gif) | CompareRelationship | 比较源模型和目标模型中的关系。 (重写 ModelComparer.CompareRelationship(IModelRelationship, IModelRelationship, ModelComparerConfiguration, ModelComparisonChangeDefinition)。) | 
| .gif) | CreateDefaultConfiguration | 创建默认比较配置。 (重写 ModelComparer.CreateDefaultConfiguration()。) | 
| .gif) | Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | 
| .gif) | Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | 
| .gif) | GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | 
| .gif) | GetType | 获取当前实例的 Type。 (继承自 Object。) | 
| .gif) | MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | 
| .gif) | OnCompareElementFinished | 在元素比较结束时调用。 (重写 ModelComparer.OnCompareElementFinished(IModelElement, IModelElement, ModelComparerConfiguration, ModelComparisonResult, ModelComparisonChangeDefinition)。) | 
| .gif) | OnCompareModelFinished | 在模型比较结束时调用。 (重写 ModelComparer.OnCompareModelFinished(ModelStore, ModelStore, ModelComparerConfiguration, ModelComparisonResult)。) | 
| .gif) | OnCompareModelStarted | 在模型比较开始时调用。 (重写 ModelComparer.OnCompareModelStarted(ModelStore, ModelStore, ModelComparerConfiguration)。) | 
| .gif) | ToString | 返回表示当前对象的字符串。 (继承自 Object。) | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.Data.Schema.Sql.SchemaModel 命名空间