Jaa


CrmEntityReference Class

 

Applies To: Dynamics CRM 2015

Contains a reference to a specific record (entity instance). (Developer Extensions)

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

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Client.CrmEntityReference

Syntax

public sealed class CrmEntityReference : IExtensibleDataObject
public ref class CrmEntityReference sealed : IExtensibleDataObject
[<Sealed>]
type CrmEntityReference = 
    class
        interface IExtensibleDataObject
    end
Public NotInheritable Class CrmEntityReference
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod CrmEntityReference()

Initializes an instance of the CrmEntityReference class.

System_CAPS_pubmethod CrmEntityReference(String, Guid)

Initializes an instance of the CrmEntityReference class.

Properties

Name Description
System_CAPS_pubproperty Id

Gets or sets the ID of the record (entity instance).

System_CAPS_pubproperty LogicalName

Gets or sets the logical name of the entity.

System_CAPS_pubproperty Name

Gets or sets the name of the entity.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

Determines if the specified object is equal to this entity reference.(Overrides Object.Equals(Object).)

System_CAPS_pubmethod GetHashCode()

Gets the hash value for this type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Operators

Name Description
System_CAPS_puboperatorSystem_CAPS_static Implicit(CrmEntityReference to EntityReference)

Converts between entity reference types.

System_CAPS_puboperatorSystem_CAPS_static Implicit(EntityReference to CrmEntityReference)

Converts between entity reference types.

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privproperty IExtensibleDataObject.ExtensionData

Gets or sets the structure that contains extra data.

Extension Methods

Name Description
System_CAPS_pubmethod SerializeByJson(IEnumerable<Type>)

Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.)

Remarks

Extends the core EntityReference class.

Thread Safety

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

See Also

Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright