SqlModelComparer.CompareRelationship Method
Compares a relationship in the source and target models.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Protected Overrides Sub CompareRelationship ( _
sourceRelationship As IModelRelationship, _
targetRelationship As IModelRelationship, _
configuration As ModelComparerConfiguration, _
changes As ModelComparisonChangeDefinition _
)
protected override void CompareRelationship(
IModelRelationship sourceRelationship,
IModelRelationship targetRelationship,
ModelComparerConfiguration configuration,
ModelComparisonChangeDefinition changes
)
protected:
virtual void CompareRelationship(
IModelRelationship^ sourceRelationship,
IModelRelationship^ targetRelationship,
ModelComparerConfiguration^ configuration,
ModelComparisonChangeDefinition^ changes
) override
abstract CompareRelationship :
sourceRelationship:IModelRelationship *
targetRelationship:IModelRelationship *
configuration:ModelComparerConfiguration *
changes:ModelComparisonChangeDefinition -> unit
override CompareRelationship :
sourceRelationship:IModelRelationship *
targetRelationship:IModelRelationship *
configuration:ModelComparerConfiguration *
changes:ModelComparisonChangeDefinition -> unit
protected override function CompareRelationship(
sourceRelationship : IModelRelationship,
targetRelationship : IModelRelationship,
configuration : ModelComparerConfiguration,
changes : ModelComparisonChangeDefinition
)
Parameters
- sourceRelationship
Type: Microsoft.Data.Schema.SchemaModel.IModelRelationship
The relationship in the source model.
- targetRelationship
Type: Microsoft.Data.Schema.SchemaModel.IModelRelationship
The relationship in the target model.
- configuration
Type: Microsoft.Data.Schema.SchemaModel.ModelComparerConfiguration
Configures how the comparison is performed.
- changes
Type: Microsoft.Data.Schema.SchemaModel.ModelComparisonChangeDefinition
The changes.
.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.