ModelComparer.Compare Method (ModelStore, ModelStore, ModelComparerConfiguration)
Compares two models with a passed-in 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, _
configuration As ModelComparerConfiguration _
) As ModelComparisonResult
public ModelComparisonResult Compare(
ModelStore source,
ModelStore target,
ModelComparerConfiguration configuration
)
public:
ModelComparisonResult^ Compare(
ModelStore^ source,
ModelStore^ target,
ModelComparerConfiguration^ configuration
)
member Compare :
source:ModelStore *
target:ModelStore *
configuration:ModelComparerConfiguration -> ModelComparisonResult
public function Compare(
source : ModelStore,
target : ModelStore,
configuration : ModelComparerConfiguration
) : ModelComparisonResult
Parameters
- source
Type: Microsoft.Data.Schema.SchemaModel.ModelStore
Element from source model
- target
Type: Microsoft.Data.Schema.SchemaModel.ModelStore
Element from target model
- configuration
Type: Microsoft.Data.Schema.SchemaModel.ModelComparerConfiguration
Filter defined for this comparison
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
.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.