ModelComparer.Compare 方法 (ModelStore, ModelStore)
比較兩個模型,不使用篩選條件。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Function Compare ( _
source As ModelStore, _
target As ModelStore _
) As ModelComparisonResult
public ModelComparisonResult Compare(
ModelStore source,
ModelStore target
)
public:
ModelComparisonResult^ Compare(
ModelStore^ source,
ModelStore^ target
)
member Compare :
source:ModelStore *
target:ModelStore -> ModelComparisonResult
public function Compare(
source : ModelStore,
target : ModelStore
) : ModelComparisonResult
參數
- source
型別:Microsoft.Data.Schema.SchemaModel.ModelStore
來源模型。
- target
型別:Microsoft.Data.Schema.SchemaModel.ModelStore
目標模型。
傳回值
型別:Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
備註
預設情況下,它會比較為模型註冊的所有 StoreElement 型別。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。