Relationship Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a relationship between two entities.
public ref class Relationship sealed : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="Relationship", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class Relationship : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="Relationship", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type Relationship = class
interface IExtensibleDataObject
Public NotInheritable Class Relationship
Implements IExtensibleDataObject
- Inheritance
-
Relationship
- Attributes
- Implements
Constructors
Relationship() |
Initializes a new instance of the Relationship class. |
Relationship(String) |
Initializes a new instance of the Relationship class setting the schema name property. |
Properties
ExtensionData |
Gets or sets the structure that contains extra data. |
PrimaryEntityRole |
Gets or sets the entity role: referenced or referencing. |
SchemaName |
Gets or sets the name of the relationship. |
Methods
Equals(Object) |
Determines whether two instances are equal. |
GetHashCode() |
Serves as a hash function for this type. |
ToString() |
Returns a String that represents the current |