Entity Class
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Represents an instance of an entity (a record).
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
| Name | Description | |
|---|---|---|
![]() | Entity | Initializes a new instance of the Entity class. |
![]() | Entity | Initializes a new instance of the Entity class setting the entity name. |
![]() | Entity | Initializes a new instance of the Entity class. This was introduced with Microsoft Dynamics CRM Online 2015 Update 1 and cannot be used with earlier versions. |
![]() | Entity | Initializes a new instance of the Entity class. This was introduced with Microsoft Dynamics CRM Online 2015 Update 1 and cannot be used with earlier versions. |
![]() | Entity | Initializes a new instance of the Entity class. This was introduced with Microsoft Dynamics CRM Online 2015 Update 1 and cannot be used with earlier versions. |
| Name | Description | |
|---|---|---|
![]() | Contains | Checks to see if there is a value present for the specified attribute. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetAttributeValue | Gets the value of the attribute. |
![]() | GetFormattedAttributeValue | Gets the formatted value of the attribute. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetRelatedEntities | Gets the collection of related entity instances for the specified relationship. |
![]() | GetRelatedEntity | Gets the related entity instance for the specified relationship. |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | SetAttributeValue | Sets the value of an attribute. |
![]() | SetRelatedEntities | Sets the collection of related entity instances for the specified relationship. |
![]() | SetRelatedEntity | Sets the related entity instance for the specified relationship. |
![]() | ToEntity | Gets the entity as the specified type. |
![]() | ToEntityReference | Gets an entity reference for this entity instance. |
![]() | ToString | (Inherited from Object.) |
Entity is the base class for all types of entities in Microsoft Dynamics 365. You use this class for both early and late bound programming.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright


