Jaa


RelationshipMetadataBase.RelationshipType Property

 

Applies To: Dynamics CRM 2015

Gets the type of relationship.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataMemberAttribute(Order = 60)]
public RelationshipType RelationshipType { get; internal set; }
public:
[DataMemberAttribute(Order = 60)]
property RelationshipType RelationshipType {
    RelationshipType get();
    internal: void set(RelationshipType value);
}
[<DataMemberAttribute(Order = 60)>]
member RelationshipType : RelationshipType with get, internal set
<DataMemberAttribute(Order := 60)>
Public Property RelationshipType As RelationshipType
    Get
    Friend Set
End Property

Property Value

Type: Microsoft.Xrm.Sdk.Metadata.RelationshipType

Type:RelationshipType.

Remarks

This attribute provides a way for a RelationshipQueryExpression to differentiate between ManyToMany relationships and OneToMany relationships.

This value will be set by the system. You should not set this value when you create an entity relationship.

See Also

RelationshipMetadataBase Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright