TechNet
Export (0) Print
Expand All

Relationship Class

 

Represents a relationship between two entities.

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

System.Object
  Microsoft.Xrm.Sdk.Relationship

[DataContractAttribute(Name = "Relationship", Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class Relationship : IExtensibleDataObject

NameDescription
System_CAPS_pubmethodRelationship()

Initializes a new instance of the Relationship class.

System_CAPS_pubmethodRelationship(String)

Initializes a new instance of the Relationship class setting the schema name property.

NameDescription
System_CAPS_pubpropertyExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubpropertyPrimaryEntityRole

Gets or sets the entity role: referenced or referencing.

System_CAPS_pubpropertySchemaName

Gets or sets the name of the relationship.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether two instances are equal.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for this type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a String that represents the current Relationship.(Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show:
© 2016 Microsoft