CachedOrganizationService Class

 

Updated: January 15, 2016

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)

System::Object
  Microsoft.Xrm.Client.Services::OrganizationService
    Microsoft.Xrm.Client.Services::CachedOrganizationService

public ref class CachedOrganizationService : OrganizationService

NameDescription
System_CAPS_pubmethodCachedOrganizationService(CrmConnection^)

Initializes a new instance of the CachedOrganizationService class.

System_CAPS_pubmethodCachedOrganizationService(CrmConnection^, IOrganizationServiceCache^)

Initializes a new instance of the CachedOrganizationService class.

System_CAPS_pubmethodCachedOrganizationService(IOrganizationService^)

Initializes a new instance of the CachedOrganizationService class.

System_CAPS_pubmethodCachedOrganizationService(IOrganizationService^, IOrganizationServiceCache^)

Initializes a new instance of the CachedOrganizationService class.

System_CAPS_pubmethodCachedOrganizationService(IOrganizationService^, String^)

Initializes a new instance of the CachedOrganizationService class.

System_CAPS_pubmethodCachedOrganizationService(String^)

Initializes a new instance of the CachedOrganizationService class.

System_CAPS_pubmethodCachedOrganizationService(String^, IOrganizationServiceCache^)

Initializes a new instance of the CachedOrganizationService class.

NameDescription
System_CAPS_pubpropertyCache

Gets the cache.

System_CAPS_pubpropertyInnerService

(Inherited from OrganizationService.)

NameDescription
System_CAPS_pubmethodAssociate(String^, Guid, Relationship^, EntityReferenceCollection^)

Creates a link between records. (Developer Extensions)(Inherited from OrganizationService.)

System_CAPS_protmethodCheckIfTokenIsExpired(SecurityTokenResponse^, Nullable<TimeSpan>)

(Inherited from OrganizationService.)

System_CAPS_pubmethodCreate(Entity^)

Creates a record. (Developer Extensions)(Overrides OrganizationService::Create(Entity^).)

System_CAPS_protmethodCreateServiceConfiguration(CrmConnection^)

(Inherited from OrganizationService.)

System_CAPS_protmethodCreateUserTokenResponse(CrmConnection^, IServiceConfiguration<IOrganizationService^>^)

(Inherited from OrganizationService.)

System_CAPS_pubmethodDelete(String^, Guid)

Deletes a record. (Developer Extensions)(Overrides OrganizationService::Delete(String^, Guid).)

System_CAPS_pubmethodDisassociate(String^, Guid, Relationship^, EntityReferenceCollection^)

Deletes a link between records. (Developer Extensions)(Inherited from OrganizationService.)

System_CAPS_pubmethodDispose()

(Inherited from OrganizationService.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodExecute(OrganizationRequest^)

Executes a message in the form of a request, and returns a response. (Developer Extensions)(Overrides OrganizationService::Execute(OrganizationRequest^).)

System_CAPS_pubmethodExecute<T>(OrganizationRequest^, Func<OrganizationResponse^, T>^, String^)

Executes a message in the form of a request, and returns a response. (Developer Extensions)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetServiceConfiguration(CrmConnection^)

(Inherited from OrganizationService.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodGetUserTokenResponse(CrmConnection^, IServiceConfiguration<IOrganizationService^>^)

(Inherited from OrganizationService.)

System_CAPS_pubmethodInitialize(String^, NameValueCollection^)

(Inherited from OrganizationService.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodRegisterDeviceCredentials(ClientCredentials^)

(Inherited from OrganizationService.)

System_CAPS_pubmethodRetrieve(String^, Guid, ColumnSet^)

Retrieves a record. (Developer Extensions)(Overrides OrganizationService::Retrieve(String^, Guid, ColumnSet^).)

System_CAPS_pubmethodRetrieveMultiple(QueryBase^)

Retrieves a collection of records. (Developer Extensions)(Overrides OrganizationService::RetrieveMultiple(QueryBase^).)

System_CAPS_protmethodToOrganizationService(CrmConnection^)

(Inherited from OrganizationService.)

System_CAPS_protmethodToOrganizationServiceProxy(CrmConnection^)

(Inherited from OrganizationService.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpdate(Entity^)

Updates an existing record. (Developer Extensions)(Overrides OrganizationService::Update(Entity^).)

NameDescription
System_CAPS_pubmethodExecute<TResponse>(OrganizationRequest^)

Extensions to the core Execute method. (Developer Extensions)(Defined by OrganizationServiceExtensions.)

System_CAPS_pubmethodFetchXmlToQueryExpression(String^)

Extensions to the core FetchXmlToQueryExpressionRequest message. (Developer Extensions) (Developer Extensions)(Defined by OrganizationServiceExtensions.)

System_CAPS_pubmethodRetrieveEntity(RetrieveEntityRequest^)

Overloaded. (Defined by OrganizationServiceExtensions.)

System_CAPS_pubmethodRetrieveEntity(String^, EntityFilters, Boolean)

Overloaded. (Defined by OrganizationServiceExtensions.)

System_CAPS_pubmethodRetrieveMultiple(RetrieveMultipleRequest^)

Overloaded. Extensions to the core RetrieveMultiple method. (Developer Extensions)(Defined by OrganizationServiceExtensions.)

System_CAPS_pubmethodSerializeByJson(IEnumerable<Type^>^)

Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

© 2017 Microsoft. All rights reserved. Copyright

Show: