次の方法で共有


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
public methodstatic AddLink Overloaded. Adds the specified link to the set of objects the OrganizationServiceContext is tracking.
public methodstatic AddRelatedObject Overloaded.  
public methodstatic AttachClone Clones an arbitrary source entity and attaches it to the context.
public methodstatic AttachLink Overloaded. Attaches a two entity instances.
public methodstatic DeleteLink Overloaded.  
public methodstatic Detach  
public methodstatic DetachLink Overloaded. Detaches a two entity instances.
public methodstatic Execute  
public methodstatic IsAttached Overloaded. Determines whether a relationship is attached and therefore being tracked by the OrganizationServiceContext.
public methodstatic IsDeleted Overloaded. Determines whether a relationship has been deleted.
public methodstatic LoadProperty Overloaded. Loads the related entity collection for the specified relationship.
public methodstatic MergeClone Clones an arbitrary source entity and attaches it to the context.
public methodstatic ReAttach Resets the EntityState of an entity before attaching it to the context.
public methodstatic TryAccessCache Tries to perform an action on the underlying IOrganizationServiceCache if applicable.
public methodstatic TryRemoveFromCache Overloaded. Removes an entity from cache if it is applicable to the context.

Top

Extension Methods

  Name Description
public extension method 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.