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
System_CAPS_pubmethod OrganizationServiceCache()

Initializes a new instance of the OrganizationServiceCache class.

System_CAPS_pubmethod OrganizationServiceCache(ObjectCache)

Initializes a new instance of the OrganizationServiceCache class.

System_CAPS_pubmethod OrganizationServiceCache(ObjectCache, CrmConnection)

Initializes a new instance of the OrganizationServiceCache class.

System_CAPS_pubmethod OrganizationServiceCache(ObjectCache, OrganizationServiceCacheSettings)

Initializes a new instance of the OrganizationServiceCache class.

System_CAPS_pubmethod OrganizationServiceCache(ObjectCache, String)

Initializes a new instance of the OrganizationServiceCache class.

Properties

Name Description
System_CAPS_pubproperty Cache

System_CAPS_pubproperty CacheEntryChangeMonitorPrefix

System_CAPS_pubproperty CacheRegionName

System_CAPS_pubproperty ConnectionId

System_CAPS_pubproperty Mode

System_CAPS_pubproperty QueryHashingEnabled

System_CAPS_pubproperty ReturnMode

Methods

Name Description
System_CAPS_protmethod CloneResponse<TResult>(TResult)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Execute<T>(OrganizationRequest, Func<OrganizationRequest, OrganizationResponse>, Func<OrganizationResponse, T>, String)

Executes an organization service message. (Developer Extensions)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethod GetBaseCachePolicy()

System_CAPS_protmethod GetCacheKey(Object)

System_CAPS_protmethod GetCachePolicy(Object, Object)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Initialize(String, NameValueCollection)

System_CAPS_pubmethod Insert(String, Object, Object)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Remove(Entity)

System_CAPS_pubmethod Remove(EntityReference)

System_CAPS_pubmethod Remove(OrganizationRequest)

System_CAPS_pubmethod Remove(OrganizationServiceCachePluginMessage)

System_CAPS_pubmethod Remove(String)

System_CAPS_pubmethod Remove(String, Nullable<Guid>)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_protmethod TryGetCacheKey(Object, String)

System_CAPS_protmethod TryGetCachePolicy(Object, Object, CacheItemPolicy)

System_CAPS_protmethod TryGetDependencies(Object, IEnumerable<String>)

Extension Methods

Name Description
System_CAPS_pubmethod 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