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 | |
---|---|---|
CrmEntityReference() | Initializes an instance of the CrmEntityReference class. |
|
CrmEntityReference(String, Guid) | Initializes an instance of the CrmEntityReference class. |
Properties
Name | Description | |
---|---|---|
Id | Gets or sets the ID of the record (entity instance). |
|
LogicalName | Gets or sets the logical name of the entity. |
|
Name | Gets or sets the name of the entity. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines if the specified object is equal to this entity reference.(Overrides Object.Equals(Object).) |
|
GetHashCode() | Gets the hash value for this type.(Overrides Object.GetHashCode().) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Operators
Name | Description | |
---|---|---|
Implicit(CrmEntityReference to EntityReference) | Converts between entity reference types. |
|
Implicit(EntityReference to CrmEntityReference) | Converts between entity reference types. |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IExtensibleDataObject.ExtensionData | Gets or sets the structure that contains extra data. |
Extension Methods
Name | Description | |
---|---|---|
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