Compartilhar via


RelationshipMetadataBase.RelationshipType Property

Definition

Gets the type of relationship.

public:
 property Microsoft::Xrm::Sdk::Metadata::RelationshipType RelationshipType { Microsoft::Xrm::Sdk::Metadata::RelationshipType get(); };
[System.Runtime.Serialization.DataMember(Order=60)]
public Microsoft.Xrm.Sdk.Metadata.RelationshipType RelationshipType { get; }
[<System.Runtime.Serialization.DataMember(Order=60)>]
member this.RelationshipType : Microsoft.Xrm.Sdk.Metadata.RelationshipType
Public ReadOnly Property RelationshipType As RelationshipType

Property Value

Attributes

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.

Applies to