TechNet
Export (0) Print
Expand All

OrganizationServiceContext Methods

 

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

NameDescription
System_CAPS_pubmethodAddLink(Entity, Relationship, Entity)

Adds the specified link to the set of objects the OrganizationServiceContext is tracking.

System_CAPS_pubmethodAddObject(Entity)

Adds the specified entity to the set of entities that the OrganizationServiceContext is tracking.

System_CAPS_pubmethodAddRelatedObject(Entity, Relationship, Entity)

Adds a related entity to the OrganizationServiceContext and creates the link that defines the relationship between the two entities in a single request.

System_CAPS_pubmethodAttach(Entity)

Notifies the OrganizationServiceContext to start tracking the specified entity.

System_CAPS_pubmethodAttachLink(Entity, Relationship, Entity)

Notifies the OrganizationServiceContext to start tracking the specified link that defines a relationship between entity objects.

System_CAPS_pubmethodClearChanges()

Clears all tracking of entities by the OrganizationServiceContext.

System_CAPS_pubmethodCreateQuery(String)

Creates a web service .NET Language-Integrated Query (LINQ) query for the specified entity.

System_CAPS_pubmethodCreateQuery<TEntity>()

Creates a Web service .NET Language-Integrated Query (LINQ) query for the specified entity.

System_CAPS_protmethodCreateQuery<TEntity>(IQueryProvider, String)

Creates a web service .NET Language-Integrated Query (LINQ) query for the specified entity.

System_CAPS_pubmethodDeleteLink(Entity, Relationship, Entity)

Changes the state of the link to deleted in the list of links being tracked by the OrganizationServiceContext.

System_CAPS_pubmethodDeleteObject(Entity)

Changes the state of the specified entity to be deleted in the OrganizationServiceContext.

System_CAPS_pubmethodDeleteObject(Entity, Boolean)

Changes the state of the specified entity to be deleted in the OrganizationServiceContext.

System_CAPS_pubmethodDetach(Entity)

Removes the entity from the set of entities that the OrganizationServiceContext is tracking.

System_CAPS_pubmethodDetach(Entity, Boolean)

Removes the entity from the set of entities that the OrganizationServiceContext is tracking.

System_CAPS_pubmethodDetachLink(Entity, Relationship, Entity)

Removes the specified link from the list of links being tracked by the OrganizationServiceContext.

System_CAPS_pubmethodDispose()

Disposes of the service context.

System_CAPS_protmethodDispose(Boolean)

Disposes of the service context.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute(OrganizationRequest)

Executes a message in the form of a request, and returns a response.

System_CAPS_protmethodFinalize()

Destructor for the OrganizationServiceContext class.(Overrides Object.Finalize().)

System_CAPS_pubmethodGetAttachedEntities()

Gets an enumerable collection of the entities attached to the OrganizationServiceContext.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsAttached(Entity)

Determines whether an entity is attached and therefore being tracked by the OrganizationServiceContext.

System_CAPS_pubmethodIsAttached(Entity, Relationship, Entity)

Determines whether an entity relationship is attached and therefore being tracked by the OrganizationServiceContext.

System_CAPS_pubmethodIsDeleted(Entity)

Determines whether an entity has been deleted.

System_CAPS_pubmethodIsDeleted(Entity, Relationship, Entity)

Determines whether a relationship has been deleted.

System_CAPS_pubmethodLoadProperty(Entity, Relationship)

Loads the related entity collection for the specified relationshp.

System_CAPS_pubmethodLoadProperty(Entity, String)

Loads deferred content for a specified property from the Web service.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnBeginEntityTracking(Entity)

Virtual (Overridable) method called when entity tracking begins.

System_CAPS_protmethodOnBeginLinkTracking(Entity, Relationship, Entity)

Virtual (Overridable) method called when link tracking begins.

System_CAPS_protmethodOnEndEntityTracking(Entity)

Virtual (Overridable) method called after entity tracking ends.

System_CAPS_protmethodOnEndLinkTracking(Entity, Relationship, Entity)

Virtual (Overridable) method called after link tracking ends.

System_CAPS_protmethodOnExecute(OrganizationRequest, Exception)

Virtual (Overridable) method called after Execute is called and before an exception is re-thrown.

System_CAPS_protmethodOnExecute(OrganizationRequest, OrganizationResponse)

Virtual (Overridable) method called after Execute is called and before a response is returned.

System_CAPS_protmethodOnExecuting(OrganizationRequest)

Virtual (Overridable) method called before Execute is called.

System_CAPS_protmethodOnSaveChanges(SaveChangesResultCollection)

Virtual (Overridable) method called after an attempt to save data changes.

System_CAPS_protmethodOnSavingChanges(SaveChangesOptions)

Virtual (Overridable) method called before an attempt to save changes is performed.

System_CAPS_pubmethodSaveChanges()

Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics CRM.

System_CAPS_pubmethodSaveChanges(SaveChangesOptions)

Saves the changes that the OrganizationServiceContext is tracking to Microsoft Dynamics CRM.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpdateObject(Entity)

Changes the state of the specified entity in the OrganizationServiceContext to Modified.

System_CAPS_pubmethodUpdateObject(Entity, Boolean)

Changes the state of the specified entity in the OrganizationServiceContext to Modified.

Return to top

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show:
© 2016 Microsoft