SqlSchemaAnalyzer.IdentifiedAmbiguousRelationship Method
This method handles the discovery of a new relationship where the right side cannot be resolved.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
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>
)
Parameters
- fragment
Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
Fragment to which the relationship belongs.
- leftHandSide
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlElementDescriptor
Represents the left side of the relationship.
- relationshipClass
Type: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
Represents the type of relationship.
- ambiguousRightHandSide
Type: System.Collections.Generic.IEnumerable<SqlPotentialElementDescriptor>
Represents the right side of the relationship that cannot be resolved.
- annotations
Type: System.Collections.Generic.IEnumerable<SqlAnnotationDescriptor>
Annotations associated with the relationship.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.