ModelComparer.Compare Method (ModelStore, ModelStore)
Compares two models without a filter.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
Parameters
- source
Type: Microsoft.Data.Schema.SchemaModel.ModelStore
Source model
- target
Type: Microsoft.Data.Schema.SchemaModel.ModelStore
Target model
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
Remarks
By default, it compares all the StoreElement types registered for the model.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.