Skip to main content

DataverseOptions

  • Namespace: PPDS.Dataverse.DependencyInjection
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary

Root configuration options for Dataverse connection pooling and operations. Supports both single-environment (Connections) and multi-environment (Environments) configurations.

Members

Properties

BulkOperations

BulkOperationOptions BulkOperations { get; set; }

Gets or sets the bulk operation settings.

Connections

List<DataverseConnection> Connections { get; set; }

Gets or sets the connection configurations. For single-environment scenarios, or as the default when no Environments are defined.

DefaultEnvironment

string DefaultEnvironment { get; set; }

Gets or sets the default environment name. Used when no environment is explicitly specified.

Environments

Dictionary<string, DataverseEnvironmentOptions> Environments { get; set; }

Gets or sets named environments for multi-environment scenarios. Use this for source/target migration scenarios or dev/qa/prod configurations. Key: environment name (e.g., "source", "target", "dev", "prod")

Pool

ConnectionPoolOptions Pool { get; set; }

Gets or sets the connection pool settings.

Resilience

ResilienceOptions Resilience { get; set; }

Gets or sets the resilience and retry settings.

TenantId

string TenantId { get; set; }

Gets or sets the default Azure AD tenant ID. Can be overridden at the connection or environment level.

Url

string Url { get; set; }

Gets or sets the default Dataverse environment URL. Can be overridden at the connection or environment level.