共用方式為


SqlModelComparer.CompareRelationship 方法

比較來源和目標模型中的關聯性。

命名空間:  Microsoft.Data.Schema.Sql.SchemaModel
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
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
)

參數

.NET Framework 安全性

請參閱

參考

SqlModelComparer 類別

Microsoft.Data.Schema.Sql.SchemaModel 命名空間