CachedOrganizationService 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 CachedOrganizationService : OrganizationService
public ref class CachedOrganizationService : OrganizationService
type CachedOrganizationService =
class
inherit OrganizationService
end
Public Class CachedOrganizationService
Inherits OrganizationService
Constructors
Name | Description | |
---|---|---|
CachedOrganizationService(CrmConnection) | Initializes a new instance of the CachedOrganizationService class. |
|
CachedOrganizationService(CrmConnection, IOrganizationServiceCache) | Initializes a new instance of the CachedOrganizationService class. |
|
CachedOrganizationService(IOrganizationService) | Initializes a new instance of the CachedOrganizationService class. |
|
CachedOrganizationService(IOrganizationService, IOrganizationServiceCache) | Initializes a new instance of the CachedOrganizationService class. |
|
CachedOrganizationService(IOrganizationService, String) | Initializes a new instance of the CachedOrganizationService class. |
|
CachedOrganizationService(String) | Initializes a new instance of the CachedOrganizationService class. |
|
CachedOrganizationService(String, IOrganizationServiceCache) | Initializes a new instance of the CachedOrganizationService class. |
Properties
Name | Description | |
---|---|---|
Cache | Gets the cache. |
|
InnerService | (Inherited from OrganizationService.) |
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
Developer extensions context object model (Dynamics CRM 2015)
Return to top
© 2017 Microsoft. All rights reserved. Copyright