Relationship Members

Represents a relationship between two entities.

The following tables list the members exposed by the Relationship type.

Public Constructors

  Name Description
  Relationship Overloaded. Initializes a new instance of the Relationship class.

Top

Public Properties

  Name Description
public property ExtensionData Gets or sets the structure that contains extra data.
public property PrimaryEntityRole Gets or sets the entity role: referenced or referencing.
public property SchemaName Gets or sets the name of the relationship.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals Overridden. Determines whether two instances are equal.
public method GetHashCode Overridden. Serves as a hash function for this type.
public method GetType  (inherited from Object)
public method ToString Overridden. Returns a String that represents the current Relationship.

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

Top

See Also

Reference

Relationship Class
Microsoft.Xrm.Sdk Namespace
RelationshipMetadataBase
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata

Other Resources

Customize Entity Relationship Metadata

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.