Table of Contents

Interface IOrgServiceProvider

Namespace
Hsl.Xrm.Sdk
Assembly
Hsl.Xrm.Sdk.Core.dll

Interface for a class that provides IProvidedOrgService instances.

public interface IOrgServiceProvider

Methods

Acquire()

Gets or creates a connection. Call IProvidedOrgService.Dispose to return it to the pool.

IProvidedOrgService Acquire()

Returns

IProvidedOrgService

Acquire(Guid)

Gets or creates a connection. Call IProvidedOrgService.Dispose to return it to the pool.

IProvidedOrgService Acquire(Guid userId)

Parameters

userId Guid

Sets the CallerId for all requests to the given user.

Returns

IProvidedOrgService