Entity Members
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
Represents an instance of an entity (a record).
The following tables list the members exposed by the Entity type.
Public Constructors
Name | Description | |
---|---|---|
Entity | Overloaded. Initializes a new instance of the Entity class. |
Top
Public Properties
Name | Description | |
---|---|---|
Attributes | Gets or sets the collection of attributes for the entity. | |
EntityState | Gets or sets the state of the entity. | |
ExtensionData | Gets or sets the structure that contains extra data. | |
FormattedValues | Gets of sets the collection of formatted values for the entity attributes. | |
Id | Gets or sets the ID of the record represented by this entity instance. | |
Item | Provides an indexer for the attribute values. | |
LogicalName | Gets or sets the logical name of the entity. | |
RelatedEntities | Gets or sets a collection of entity references (references to records). |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Contains | Checks to see if there is a value present for the specified attribute. | |
Equals | (inherited from Object) | |
GetAttributeValue | Gets the value of the attribute. | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
ToEntity | Gets the entity as the specified type. | |
ToEntityReference | Gets an entity reference for this entity instance. | |
ToString | (inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object) | |
GetFormattedAttributeValue | Gets the formatted value of the attribute. | |
GetRelatedEntities | Gets the collection of related entity instances for the specified relationship. | |
GetRelatedEntity | Gets the related entity instance for the specified relationship. | |
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. |
Top
See Also
Reference
Entity Class
Microsoft.Xrm.Sdk Namespace
Other Resources
Use the Early Bound Entity Classes in Code
Use the Late Bound Entity Class in Code
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.