此方法会发现右侧无法解析的新关系。
命名空间: Microsoft.Data.Schema.Sql.SchemaModel
程序集: Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)
语法
声明
Public Overridable Sub IdentifiedAmbiguousRelationship ( _
fragment As TSqlFragment, _
leftHandSide As SqlElementDescriptor, _
relationshipClass As ModelRelationshipClass, _
ambiguousRightHandSide As IEnumerable(Of SqlPotentialElementDescriptor), _
annotations As IEnumerable(Of SqlAnnotationDescriptor) _
)
public virtual void IdentifiedAmbiguousRelationship(
TSqlFragment fragment,
SqlElementDescriptor leftHandSide,
ModelRelationshipClass relationshipClass,
IEnumerable<SqlPotentialElementDescriptor> ambiguousRightHandSide,
IEnumerable<SqlAnnotationDescriptor> annotations
)
public:
virtual void IdentifiedAmbiguousRelationship(
TSqlFragment^ fragment,
SqlElementDescriptor^ leftHandSide,
ModelRelationshipClass^ relationshipClass,
IEnumerable<SqlPotentialElementDescriptor^>^ ambiguousRightHandSide,
IEnumerable<SqlAnnotationDescriptor^>^ annotations
)
abstract IdentifiedAmbiguousRelationship :
fragment:TSqlFragment *
leftHandSide:SqlElementDescriptor *
relationshipClass:ModelRelationshipClass *
ambiguousRightHandSide:IEnumerable<SqlPotentialElementDescriptor> *
annotations:IEnumerable<SqlAnnotationDescriptor> -> unit
override IdentifiedAmbiguousRelationship :
fragment:TSqlFragment *
leftHandSide:SqlElementDescriptor *
relationshipClass:ModelRelationshipClass *
ambiguousRightHandSide:IEnumerable<SqlPotentialElementDescriptor> *
annotations:IEnumerable<SqlAnnotationDescriptor> -> unit
public function IdentifiedAmbiguousRelationship(
fragment : TSqlFragment,
leftHandSide : SqlElementDescriptor,
relationshipClass : ModelRelationshipClass,
ambiguousRightHandSide : IEnumerable<SqlPotentialElementDescriptor>,
annotations : IEnumerable<SqlAnnotationDescriptor>
)
参数
- fragment
类型:Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
关系所属的片段。
- leftHandSide
类型:Microsoft.Data.Schema.Sql.SchemaModel.SqlElementDescriptor
表示关系的左侧。
- relationshipClass
类型:Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
表示关系的类型。
- ambiguousRightHandSide
类型:System.Collections.Generic.IEnumerable<SqlPotentialElementDescriptor>
表示无法解析的关系的右侧。
- annotations
类型:System.Collections.Generic.IEnumerable<SqlAnnotationDescriptor>
与关系关联的批注。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。