Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method handles the discovery of a new relationship.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Overridable Sub IdentifiedRelationship ( _
fragment As TSqlFragment, _
leftHandSide As SqlElementDescriptor, _
relationshipClass As ModelRelationshipClass, _
rightHandSide As SqlElementDescriptor, _
annotations As IEnumerable(Of SqlAnnotationDescriptor) _
)
public virtual void IdentifiedRelationship(
TSqlFragment fragment,
SqlElementDescriptor leftHandSide,
ModelRelationshipClass relationshipClass,
SqlElementDescriptor rightHandSide,
IEnumerable<SqlAnnotationDescriptor> annotations
)
public:
virtual void IdentifiedRelationship(
TSqlFragment^ fragment,
SqlElementDescriptor^ leftHandSide,
ModelRelationshipClass^ relationshipClass,
SqlElementDescriptor^ rightHandSide,
IEnumerable<SqlAnnotationDescriptor^>^ annotations
)
abstract IdentifiedRelationship :
fragment:TSqlFragment *
leftHandSide:SqlElementDescriptor *
relationshipClass:ModelRelationshipClass *
rightHandSide:SqlElementDescriptor *
annotations:IEnumerable<SqlAnnotationDescriptor> -> unit
override IdentifiedRelationship :
fragment:TSqlFragment *
leftHandSide:SqlElementDescriptor *
relationshipClass:ModelRelationshipClass *
rightHandSide:SqlElementDescriptor *
annotations:IEnumerable<SqlAnnotationDescriptor> -> unit
public function IdentifiedRelationship(
fragment : TSqlFragment,
leftHandSide : SqlElementDescriptor,
relationshipClass : ModelRelationshipClass,
rightHandSide : SqlElementDescriptor,
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.
- rightHandSide
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlElementDescriptor
Represents the right side of the relationship.
- 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.