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
- sourceRelationship
Tipo: Microsoft.Data.Schema.SchemaModel.IModelRelationship
A relação no modelo de origem.
- targetRelationship
Tipo: Microsoft.Data.Schema.SchemaModel.IModelRelationship
A relação do modelo de destino.
- configuration
Tipo: Microsoft.Data.Schema.SchemaModel.ModelComparerConfiguration
Configura-se de como a comparação seja efetuada.
- changes
Tipo: Microsoft.Data.Schema.SchemaModel.ModelComparisonChangeDefinition
As alterações.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.