CrmEntity Class

 

Applies To: Dynamics CRM 2015

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

Namespace:   Microsoft.Xrm.Client
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

System::Object
  Microsoft.Xrm.Sdk::Entity
    Microsoft.Xrm.Client::CrmEntity

[IgnorePropertiesAttribute(new array<String^>^ { ... })]
[DataContractAttribute(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
[DataServiceKeyAttribute("Id")]
public ref class CrmEntity : Entity, INotifyPropertyChanging, 
	INotifyPropertyChanged

NameDescription
System_CAPS_pubmethodCrmEntity(String^)

Initializes a new instance of the CrmEntity class.

NameDescription
System_CAPS_pubpropertyAttributes

(Inherited from Entity.)

System_CAPS_pubpropertyEntityState

(Inherited from Entity.)

System_CAPS_pubpropertyExtensionData

(Inherited from Entity.)

System_CAPS_pubpropertyFormattedValues

(Inherited from Entity.)

System_CAPS_pubpropertyId

(Inherited from Entity.)

System_CAPS_pubpropertyItem[String^]

(Inherited from Entity.)

System_CAPS_pubpropertyLogicalName

(Inherited from Entity.)

System_CAPS_pubpropertyRelatedEntities

(Inherited from Entity.)

NameDescription
System_CAPS_pubmethodContains(String^)

(Inherited from Entity.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetAttributeCollectionValue<T>(String^)

Retrieves the value of a sequence attribute.

System_CAPS_pubmethodGetAttributeValue<T>(String^)

Retrieves the value of an attribute.(Overrides Entity::GetAttributeValue<T>(String^).)

System_CAPS_protmethodGetFormattedAttributeValue(String^)

(Inherited from Entity.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetRelatedEntities<TEntity>(String^, Nullable<EntityRole>)

Gets the collection of related entity instances for the specified relationship.(Overrides Entity::GetRelatedEntities<TEntity>(String^, Nullable<EntityRole>).)

System_CAPS_protmethodGetRelatedEntity<TEntity>(String^, Nullable<EntityRole>)

Gets the related entity instance for the specified relationship.(Overrides Entity::GetRelatedEntity<TEntity>(String^, Nullable<EntityRole>).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodSetAttributeCollectionValue<T>(String^, String^, IEnumerable<T>^)

Modifies the value of a sequence attribute.

System_CAPS_protmethodSetAttributeValue(String^, Object^)

(Inherited from Entity.)

System_CAPS_protmethodSetAttributeValue<T>(String^, String^, Object^)

Modifies the value of an attribute.

System_CAPS_protmethodSetAttributeValue<T>(String^, String^, String^, Object^)

Modifies the value of an attribute.

System_CAPS_protmethodSetPrimaryIdAttributeValue<T>(String^, String^, Object^)

Modifies the value of a primary key attribute.

System_CAPS_protmethodSetRelatedEntities<TEntity>(String^, Nullable<EntityRole>, IEnumerable<TEntity>^)

(Inherited from Entity.)

System_CAPS_protmethodSetRelatedEntities<TEntity>(String^, String^, IEnumerable<TEntity>^)

Sets the collection of related entity instances for the specified relationship.

System_CAPS_protmethodSetRelatedEntities<TEntity>(String^, String^, Nullable<EntityRole>, IEnumerable<TEntity>^)

Sets the collection of related entity instances for the specified relationship.

System_CAPS_protmethodSetRelatedEntity<TEntity>(String^, Nullable<EntityRole>, TEntity)

(Inherited from Entity.)

System_CAPS_protmethodSetRelatedEntity<TEntity>(String^, String^, TEntity)

Sets the related entity for a specific relationship.

System_CAPS_protmethodSetRelatedEntity<TEntity>(String^, String^, Nullable<EntityRole>, TEntity)

Sets the related entity for a specific relationship.

System_CAPS_pubmethodToEntity<T>()

(Inherited from Entity.)

System_CAPS_pubmethodToEntityReference()

(Inherited from Entity.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventPropertyChanged

Occurs when an attribute or relationship is set.

System_CAPS_pubeventPropertyChanging

Occurs when an attribute or relationship is set.

NameDescription
System_CAPS_pubmethodAssertEntityName(array<String^>^)

Verifies that the logical name of an entity is the expected name.(Defined by EntityExtensions.)

System_CAPS_pubmethodClone(Boolean)

Overloaded. Deep clones an instance of the Entity class.(Defined by EntityExtensions.)

System_CAPS_pubmethodGetAttributeValue(String^)

Overloaded. Retrieves the value of the attribute.(Defined by EntityExtensions.)

System_CAPS_pubmethodGetEntityReferenceValue<T>(String^)

Retrieves attribute values for EntityReference attributes.(Defined by EntityExtensions.)

System_CAPS_pubmethodGetRelatedEntities(OrganizationServiceContext^, Relationship^)

Overloaded. Retrieves the collection of related entities for a specific relationship.(Defined by EntityExtensions.)

System_CAPS_pubmethodGetRelatedEntities(OrganizationServiceContext^, String^, Nullable<EntityRole>)

Overloaded. Retrieves the collection of related entities for a specific relationship.(Defined by EntityExtensions.)

System_CAPS_pubmethodGetRelatedEntities<TEntity>(Relationship^)

Overloaded. Retrieves the collection of related entities for a specific relationship.(Defined by EntityExtensions.)

System_CAPS_pubmethodGetRelatedEntities<TEntity, TResult>(Expression<Func<TEntity, IEnumerable<TResult>^>^>^)

Overloaded. Retrieves the collection of related entities for a specific relationship.(Defined by EntityExtensions.)

System_CAPS_pubmethodGetRelatedEntity(OrganizationServiceContext^, Relationship^)

Overloaded. Retrieves the related entity for a specific relationship.(Defined by EntityExtensions.)

System_CAPS_pubmethodGetRelatedEntity(OrganizationServiceContext^, String^, Nullable<EntityRole>)

Overloaded. Retrieves the related entity for a specific relationship.(Defined by EntityExtensions.)

System_CAPS_pubmethodGetRelatedEntity<TEntity>(Relationship^)

Overloaded. Retrieves the related entity for a specific relationship.(Defined by EntityExtensions.)

System_CAPS_pubmethodSerializeByJson(IEnumerable<Type^>^)

Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.)

System_CAPS_pubmethodSetAttributeCollectionValue<T>(String^, IEnumerable<T>^)

Modifies the value of a sequence attribute.(Defined by EntityExtensions.)

System_CAPS_pubmethodSetAttributeValue(String^, String^, Object^)

Overloaded. Modifies the value of an attribute.(Defined by EntityExtensions.)

System_CAPS_pubmethodSetAttributeValue<T>(String^, Object^)

Overloaded. Modifies the value of an attribute.(Defined by EntityExtensions.)

System_CAPS_pubmethodSetRelatedEntities<TEntity>(Relationship^, IEnumerable<TEntity>^)

Overloaded. Modifies the collection of related entities for a specific relationship.(Defined by EntityExtensions.)

System_CAPS_pubmethodSetRelatedEntities<TEntity>(String^, IEnumerable<TEntity>^)

Overloaded. Modifies the collection of related entities for a specific relationship.(Defined by EntityExtensions.)

System_CAPS_pubmethodSetRelatedEntity<TEntity>(Relationship^, TEntity)

Overloaded. Modifies a related entity for a specific relationship.(Defined by EntityExtensions.)

System_CAPS_pubmethodSetRelatedEntity<TEntity>(String^, TEntity)

Overloaded. Modifies a related entity for a specific relationship.(Defined by EntityExtensions.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

© 2017 Microsoft. All rights reserved. Copyright

Show: