OrganizationService Class
Applies To: Dynamics CRM 2015
A wrapper class around the IOrganizationService that manages the details of setting up an OrganizationServiceProxy or other arbitrary IOrganizationService objects. When paired with an OrganizationServiceCache object, becomes a cached service. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Client.Services.OrganizationService
Microsoft.Xrm.Client.Services.CachedOrganizationService
Syntax
public class OrganizationService : IDisposable, IOrganizationService,
IInitializable
public ref class OrganizationService : IDisposable, IOrganizationService,
IInitializable
type OrganizationService =
class
interface IDisposable
interface IOrganizationService
interface IInitializable
end
Public Class OrganizationService
Implements IDisposable, IOrganizationService, IInitializable
Constructors
Name | Description | |
---|---|---|
OrganizationService(CrmConnection) | Initializes a new instance of the OrganizationService class. |
|
OrganizationService(IOrganizationService) | Initializes a new instance of the OrganizationService class. |
|
OrganizationService(String) | Initializes a new instance of the OrganizationService class. |
Properties
Name | Description | |
---|---|---|
InnerService |
Methods
Extension Methods
Name | Description | |
---|---|---|
Execute<TResponse>(OrganizationRequest) | Extensions to the core Execute method. (Developer Extensions)(Defined by OrganizationServiceExtensions.) |
|
FetchXmlToQueryExpression(String) | Extensions to the core FetchXmlToQueryExpressionRequest message. (Developer Extensions) (Developer Extensions)(Defined by OrganizationServiceExtensions.) |
|
RetrieveEntity(RetrieveEntityRequest) | Overloaded. (Defined by OrganizationServiceExtensions.) |
|
RetrieveEntity(String, EntityFilters, Boolean) | Overloaded. (Defined by OrganizationServiceExtensions.) |
|
RetrieveMultiple(RetrieveMultipleRequest) | Overloaded. Extensions to the core RetrieveMultiple method. (Developer Extensions)(Defined by OrganizationServiceExtensions.) |
|
SerializeByJson(IEnumerable<Type>) | Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Client.Services Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Simplified connection to Microsoft Dynamics CRM 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright