CrmEntity Members

Applies To: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online

Extensions to the core Microsoft.Xrm.Sdk.Entity class. (Developer Extensions)

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

Public Constructors

  Name Description
  CrmEntity Initializes a new instance of the CrmEntity class.

Top

Public Properties

  Name Description
public property Attributes  (inherited from Entity)
public property EntityState  (inherited from Entity)
public property ExtensionData  (inherited from Entity)
public property FormattedValues  (inherited from Entity)
public property Id  (inherited from Entity)
public property Item  (inherited from Entity)
public property LogicalName  (inherited from Entity)
public property RelatedEntities  (inherited from Entity)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Contains  (inherited from Entity)
public method Equals  (inherited from Object)
public method GetAttributeCollectionValue Retrieves the value of a sequence attribute.
public method GetAttributeValue Overridden. Retrieves the value of an attribute.
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public method ToEntity  (inherited from Entity)
public method ToEntityReference  (inherited from Entity)
public method ToString  (inherited from Object)

Top

Protected Methods

(see also Extension Methods)

  Name Description
protected method Finalize  (inherited from Object)
protected method GetFormattedAttributeValue  (inherited from Entity)
protected method GetRelatedEntities Overridden. Gets the collection of related entity instances for the specified relationship.
protected method GetRelatedEntity Overridden. Gets the related entity instance for the specified relationship.
protected method MemberwiseClone  (inherited from Object)
protected method SetAttributeCollectionValue Modifies the value of a sequence attribute.
protected method SetAttributeValue  (inherited from Entity)
protected method SetAttributeValue Overloaded.  
protected method SetPrimaryIdAttributeValue Modifies the value of a primary key attribute.
protected method SetRelatedEntities Overloaded.  
protected method SetRelatedEntities  (inherited from Entity)
protected method SetRelatedEntity Overloaded.  
protected method SetRelatedEntity  (inherited from Entity)

Top

Extension Methods

  Name Description
public extension method AssertEntityName  Verifies that the logical name of an entity is the expected name. (Defined by EntityExtensions.)
public extension method Clone  Overloaded. Deep clones an instance of the Entity class. (Defined by EntityExtensions.)
public extension method GetAttributeValue  Overloaded. Retrieves the value of an attribute. (Defined by EntityExtensions.)
public extension method GetEntityReferenceValue  Retrieves attribute values for EntityReference attributes. (Defined by EntityExtensions.)
public extension method GetRelatedEntities  Overloaded. Retrieves the collection of related entities for a specific relationship. (Defined by EntityExtensions.)
public extension method GetRelatedEntity  Overloaded. Retrieves the related entity for a specific relationship. (Defined by EntityExtensions.)
public extension method SerializeByJson  Serialize an object using the DataContractJsonSerializer. (Defined by ObjectExtensions.)
public extension method SetAttributeCollectionValue  Modifies the value of a sequence attribute. (Defined by EntityExtensions.)
public extension method SetAttributeValue  Overloaded. (Defined by EntityExtensions.)
public extension method SetRelatedEntities Overloaded.  
public extension method SetRelatedEntities  Overloaded. (Defined by EntityExtensions.)
public extension method SetRelatedEntity Overloaded.  
public extension method SetRelatedEntity  Overloaded. (Defined by EntityExtensions.)

Top

Public Events

  Name Description
public event PropertyChanged Occurs when an attribute or relationship is set.
public event PropertyChanging Occurs when an attribute or relationship is set.

Top

See Also

Reference

CrmEntity Class
Microsoft.Xrm.Client Namespace
Entity

Other Resources

Developer Extensions for Microsoft Dynamics CRM

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.