表示用于对两个模型或两个元素进行比较的比较引擎。
继承层次结构
System.Object
  Microsoft.Data.Schema.SchemaModel.ModelComparer
    Microsoft.Data.Schema.Sql.SchemaModel.SqlModelComparer
命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Class ModelComparer
public class ModelComparer
public ref class ModelComparer
type ModelComparer =  class end
public class ModelComparer
ModelComparer 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
| .gif) | ModelComparer | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | ArePropertiesEqual | |
| .gif) | Cancel | 取消比较。 | 
| .gif) | Compare(IModelElement, IModelElement) | 在不使用筛选器的情况下比较两个元素。 | 
| .gif) | Compare(ModelStore, ModelStore) | 在不使用筛选器的情况下比较两个模型。 | 
| .gif) | Compare(IModelElement, IModelElement, ModelComparerConfiguration) | 比较两个元素。 | 
| .gif) | Compare(ModelStore, ModelStore, ModelComparerConfiguration) | 在使用传入筛选器的情况下比较两个模型。 | 
| .gif) | CompareRelationship | |
| .gif) | CreateDefaultConfiguration | |
| .gif) | Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | 
| .gif) | Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | 
| .gif) | GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | 
| .gif) | GetType | 获取当前实例的 Type。 (继承自 Object。) | 
| .gif) | MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | 
| .gif) | OnCompareElementFinished | |
| .gif) | OnCompareModelFinished | |
| .gif) | OnCompareModelStarted | |
| .gif) | ToString | 返回表示当前对象的字符串。 (继承自 Object。) | 
页首
备注
此类是 DSP 不可知的,可用于比较两个模型或两个元素。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。