Microsoft.xrm.sdk.client Dll

Posted on -
Microsoft.xrm.sdk.client Dll Rating: 5,0/5 9546 votes

Represents the runtime context of the data service that is used to track Microsoft Dynamics 365 entities and that sends and receives entities from the server. In This Article System.Diagnostics.CodeAnalysis.SuppressMessage('Microsoft.Security', 'CA9881:ClassesShouldBeSealed', Justification='This class is used as base by crmsvcutil') System.Diagnostics.CodeAnalysis.SuppressMessage('Microsoft.Maintainability', 'CA1506:AvoidExcessiveClassCoupling') public class OrganizationServiceContext: IDisposable Inheritance. Remarks The organization service context class maintains state on the client between interactions with the Microsoft Dynamics 365 Web service to support features such as change management. This class also manages identities and tracks changes to Microsoft Dynamics 365 data.

Xrm Sdk

May 29, 2017 Update Dynamics CRM Client SDK version to. Replace the Microsoft.XRM.SDK.dll found in. SDK.DLL is 8.0 or older, use the SDK Client as.

The organization service context class implements the interface and a.NET Language-Integrated Query (LINQ) query provider so you can write LINQ queries against Microsoft Dynamics 365 data. Objects tracked by the organization service context are instances of entity types that represent data in Microsoft Dynamics 365. You can designate actions to be performed on these objects and the service context tracks the changes. When the method is called, the service context instructs Microsoft Dynamics 365 to generate commands to create, update or delete the entities the tracked objects represent. The code generation tool (CrmSvcUtil.exe) can be used to create a custom instance of the class. This class includes customizations and provides helper properties and methods for working with entities.

Several enumerations are used with the class. The enumeration indicates how changes are applied to Microsoft Dynamics 365 data.

The enumeration determines how changes are managed by the service context if an error occurs. Constructors Creates a new instance of the class. Properties Specifies the type of optimistic concurrency behavior that should be performed by the Web service when processing this request. Gets or sets the synchronization option for receiving entities from the Web service.

Gets the query provider. Gets or sets the values that are used by the method.

Methods Adds the specified link to the set of objects the is tracking. Adds the specified entity to the set of entities that the is tracking. Adds a related entity to the and creates the link that defines the relationship between the two entities in a single request. Notifies the to start tracking the specified entity. Notifies the to start tracking the specified link that defines a relationship between entity objects. Clears all tracking of entities by the. Creates a web service.NET Language-Integrated Query (LINQ) query for the specified entity.

Creates a web service.NET Language-Integrated Query (LINQ) query for the specified entity. Creates a Web service.NET Language-Integrated Query (LINQ) query for the specified entity. Changes the state of the link to deleted in the list of links being tracked by the. Changes the state of the specified entity to be deleted in the.

Changes the state of the specified entity to be deleted in the. Removes the entity from the set of entities that the is tracking. Removes the entity from the set of entities that the is tracking. Removes the specified link from the list of links being tracked by the. Disposes of the service context. Disposes of the service context.

Microsoft.xrm.sdk.client Dll

Executes a message in the form of a request, and returns a response. Destructor for the class. Gets an enumerable collection of the entities attached to the. Determines whether an entity is attached and therefore being tracked by the. Determines whether an entity relationship is attached and therefore being tracked by the. Determines whether an entity has been deleted.

Microsoft.xrm.sdk.client Deprecated

Determines whether a relationship has been deleted. Loads the related entity collection for the specified relationshp. Loads deferred content for a specified property from the Web service. Virtual (Overridable) method called when entity tracking begins. Virtual (Overridable) method called when link tracking begins.

See All 21 Rows On Msdn.microsoft.com

Virtual (Overridable) method called after entity tracking ends. Virtual (Overridable) method called after link tracking ends. Virtual (Overridable) method called after is called and before a response is returned. Virtual (Overridable) method called after is called and before an exception is re-thrown. Virtual (Overridable) method called before is called. Virtual (Overridable) method called after an attempt to save data changes. Virtual (Overridable) method called before an attempt to save changes is performed.

Saves the changes that the is tracking to Microsoft Dynamics 365. Saves the changes that the is tracking to Microsoft Dynamics 365. Changes the state of the specified entity in the to Modified.

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