Export (0) Print
Expand All

Entity Members

Applies To: CRM 2015 on-prem, CRM Online

[This topic is pre-release documentation and is subject to change in future releases.]

Represents an instance of an entity (a record).

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

 EntityOverloaded. Initializes a new instance of the Entity class.

public propertyAttributesGets or sets the collection of attributes for the entity.
public propertyEntityStateGets or sets the state of the entity.
public propertyExtensionDataGets or sets the structure that contains extra data.
public propertyFormattedValuesGets of sets the collection of formatted values for the entity attributes.
public propertyIdGets or sets the ID of the record represented by this entity instance.
public propertyItemProvides an indexer for the attribute values.
public propertyKeyAttributesGets or sets the key attributes.
public propertyLogicalNameGets or sets the logical name of the entity.
public propertyRelatedEntitiesGets or sets a collection of entity references (references to records).
public propertyRowVersionGets or sets the row version

(see also Protected Methods)
public methodContainsChecks to see if there is a value present for the specified attribute.
public methodEquals  (inherited from Object)
public methodGetAttributeValueGets the value of the attribute.
public methodGetHashCode  (inherited from Object)
public methodGetType  (inherited from Object)
public methodToEntityGets the entity as the specified type.
public methodToEntityReferenceGets an entity reference for this entity instance.
public methodToString  (inherited from Object)

protected methodFinalize  (inherited from Object)
protected methodGetFormattedAttributeValueGets the formatted value of the attribute.
protected methodGetRelatedEntitiesGets the collection of related entity instances for the specified relationship.
protected methodGetRelatedEntityGets the related entity instance for the specified relationship.
protected methodMemberwiseClone  (inherited from Object)
protected methodSetAttributeValueSets the value of an attribute.
protected methodSetRelatedEntitiesSets the collection of related entity instances for the specified relationship.
protected methodSetRelatedEntitySets the related entity instance for the specified relationship.

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft