Поделиться через


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

.NET Framework Security

See Also

Reference

SqlModelComparer Class

Microsoft.Data.Schema.Sql.SchemaModel Namespace