OrganizationServiceCache Class
Applies To: Dynamics CRM 2013
An abstracted data caching service that caches the results of IOrganizationService operations. Automatically sets up cache item dependencies and performing update operations invalidates dependent cache items. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Client.Services.OrganizationServiceCache
Syntax
public class OrganizationServiceCache : IOrganizationServiceCache,
IInitializable
public ref class OrganizationServiceCache : IOrganizationServiceCache,
IInitializable
type OrganizationServiceCache =
class
interface IOrganizationServiceCache
interface IInitializable
end
Public Class OrganizationServiceCache
Implements IOrganizationServiceCache, IInitializable
Constructors
Name | Description | |
---|---|---|
OrganizationServiceCache() | Initializes a new instance of the OrganizationServiceCache class. |
|
OrganizationServiceCache(ObjectCache) | Initializes a new instance of the OrganizationServiceCache class. |
|
OrganizationServiceCache(ObjectCache, CrmConnection) | Initializes a new instance of the OrganizationServiceCache class. |
|
OrganizationServiceCache(ObjectCache, OrganizationServiceCacheSettings) | Initializes a new instance of the OrganizationServiceCache class. |
|
OrganizationServiceCache(ObjectCache, String) | Initializes a new instance of the OrganizationServiceCache class. |
Properties
Name | Description | |
---|---|---|
Cache | ||
CacheEntryChangeMonitorPrefix | ||
CacheRegionName | ||
ConnectionId | ||
Mode | ||
QueryHashingEnabled | ||
ReturnMode |
Methods
Name | Description | |
---|---|---|
CloneResponse<TResult>(TResult) | ||
Equals(Object) | (Inherited from Object.) |
|
Execute<T>(OrganizationRequest, Func<OrganizationRequest, OrganizationResponse>, Func<OrganizationResponse, T>, String) | Executes an organization service message. (Developer Extensions) |
|
Finalize() | (Inherited from Object.) |
|
GetBaseCachePolicy() | ||
GetCacheKey(Object) | ||
GetCachePolicy(Object, Object) | ||
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
Initialize(String, NameValueCollection) | ||
Insert(String, Object, Object) | ||
MemberwiseClone() | (Inherited from Object.) |
|
Remove(Entity) | ||
Remove(EntityReference) | ||
Remove(OrganizationRequest) | ||
Remove(OrganizationServiceCachePluginMessage) | ||
Remove(String) | ||
Remove(String, Nullable<Guid>) | ||
ToString() | (Inherited from Object.) |
|
TryGetCacheKey(Object, String) | ||
TryGetCachePolicy(Object, Object, CacheItemPolicy) | ||
TryGetDependencies(Object, IEnumerable<String>) |
Extension Methods
Name | Description | |
---|---|---|
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 2013
Return to top