OrganizationServiceContextExtensions Members
Applies To: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online
Extensions to the core OrganizationServiceContext class. (Developer Extensions)
The following tables list the members exposed by the OrganizationServiceContextExtensions type.
Public Methods
(see also Extension Methods)
Name | Description | |
---|---|---|
AddLink | Overloaded. Adds the specified link to the set of objects the OrganizationServiceContext is tracking. | |
AddRelatedObject | Overloaded. | |
AttachClone | Clones an arbitrary source entity and attaches it to the context. | |
AttachLink | Overloaded. Attaches a two entity instances. | |
DeleteLink | Overloaded. | |
Detach | ||
DetachLink | Overloaded. Detaches a two entity instances. | |
Execute | ||
IsAttached | Overloaded. Determines whether a relationship is attached and therefore being tracked by the OrganizationServiceContext. | |
IsDeleted | Overloaded. Determines whether a relationship has been deleted. | |
LoadProperty | Overloaded. Loads the related entity collection for the specified relationship. | |
MergeClone | Clones an arbitrary source entity and attaches it to the context. | |
ReAttach | Resets the EntityState of an entity before attaching it to the context. | |
TryAccessCache | Tries to perform an action on the underlying IOrganizationServiceCache if applicable. | |
TryRemoveFromCache | Overloaded. Removes an entity from cache if it is applicable to the context. |
Top
Extension Methods
Name | Description | |
---|---|---|
SerializeByJson | Serialize an object using the DataContractJsonSerializer. (Defined by ObjectExtensions.) |
Top
See Also
Reference
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client Namespace
OrganizationServiceContext
Other Resources
Developer Extensions for Microsoft Dynamics CRM
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.