Skip to main content

IDataverseClient

  • Namespace: PPDS.Dataverse.Client
  • Assembly: PPDS.Dataverse
  • Kind: Interface
  • Implements: IOrganizationServiceAsync, IOrganizationServiceAsync2, IOrganizationService

Summary

Abstraction over ServiceClient providing core Dataverse operations. Extends Microsoft.PowerPlatform.Dataverse.Client.IOrganizationServiceAsync2 with additional Dataverse-specific properties.

Members

Methods

Clone

IDataverseClient Clone()

Creates a clone of this client that shares the underlying connection. Cloning is significantly faster than creating a new connection.

  • Returns: A cloned client instance.

Properties

CallerAADObjectId

Nullable<Guid> CallerAADObjectId { get; set; }

Gets or sets the caller AAD object ID for impersonation.

CallerId

Guid CallerId { get; set; }

Gets or sets the caller ID for impersonation.

ConnectedOrgFriendlyName

string ConnectedOrgFriendlyName { get; }

Gets the connected organization friendly name.

ConnectedOrgId

Nullable<Guid> ConnectedOrgId { get; }

Gets the connected organization ID.

ConnectedOrgUniqueName

string ConnectedOrgUniqueName { get; }

Gets the connected organization unique name.

ConnectedOrgVersion

Version ConnectedOrgVersion { get; }

Gets the connected organization version.

IsReady

bool IsReady { get; }

Gets a value indicating whether the connection is ready for operations.

LastError

string LastError { get; }

Gets the last error message from the service. Returns null when no error has occurred or the client is in a healthy state.

LastException

Exception LastException { get; }

Gets the last exception from the service. Returns null when no exception has occurred or the client is in a healthy state.

MaxRetryCount

int MaxRetryCount { get; set; }

Gets or sets the maximum number of retry attempts for transient failures.

RecommendedDegreesOfParallelism

int RecommendedDegreesOfParallelism { get; }

Gets the server-recommended degree of parallelism for bulk operations.

RetryPauseTime

TimeSpan RetryPauseTime { get; set; }

Gets or sets the pause time between retry attempts.