Partilhar via


Método SqlModelComparer.CompareRelationship

Compara um relacionamento nos modelos de origem e destino.

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (em Microsoft.Data.Schema.Sql.dll)

Sintaxe

'Declaração
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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

SqlModelComparer Classe

Namespace Microsoft.Data.Schema.Sql.SchemaModel