Table of Contents

Namespace Excalibur.Data

Classes

ActivityContextExtensions

Provides extension methods for accessing contextual information from an IActivityContext instance.

ConcurrencyException

Exception thrown when an optimistic concurrency conflict occurs.

ConflictException

Exception thrown when an operation conflicts with the current state of a resource.

DataRequestBase<TConnection, TModel>

Serves as the base class for implementing database requests with a specific connection type and return model.

DataRequestExtensions

Extension methods for IDataRequest.

DataRequest<TModel>

A specialized base class for database requests using an IDbConnection and a specific return model.

Db

Abstract base class that implements the IDb interface for managing a database connection.

DbConnectionExtensions

Provides extension methods for IDbConnection to enhance connection management and request execution.

DbTimeouts

Provides predefined timeout durations (in seconds) for various database operations.

DocumentDataRequestBase<TConnection, TResult>

Serves as the base class for implementing document store requests with a specific connection type and return model.

DocumentDataRequest<TResult>

Convenience base class for document requests that work with generic document connections.

DomainDb

Represents a specialized database context for domain-related operations.

NoTenantTermAttribute

Declares that a relational data request binds no tenant term, and states the argument that makes that correct.

OperationFailedException

Represents an exception that is thrown when an operation fails to execute successfully on a specific resource.

OutboxDb

Represents a specialized database context for outbox persistence operations.

ProjectionDb

Represents a specialized database context for read-side projection persistence operations.

ProjectionSerializationDefaults

Canonical JsonSerializerOptions for projection read-model persistence.

ResourceException

Base exception class for resource-related errors in the Excalibur framework.

ResourceNotFoundException

Exception thrown when a requested resource cannot be found.

SagaDb

Represents a specialized database context for saga state persistence operations.

TenantScopedKey

The framework's single injective encoding for composing a tenant term into a string storage key.

UnitOfWork

Provides a simple implementation of IUnitOfWork using an IDbConnection.

Interfaces

IDataAccessPolicyFactory

Factory interface for creating data access policies using Polly.

IDataRequest

Non-generic base interface for data requests.

IDataRequestResolver<TConnection>

Lightweight resolver for executing IDataRequest<TConnection, TModel> instances with automatic connection lifecycle management.

IDataRequest<TConnection, TModel>

Represents a contract for database requests that define the command and parameters necessary for execution.

IDb

Defines a contract for database access, providing basic operations to manage a database connection.

IDocumentDataRequest<TConnection, TResult>

Represents a document store data request that can be executed against a document database connection.

IDomainDb

Represents a domain-specific database abstraction that extends the generic database interface IDb.

IOutboxDb

Represents a database abstraction for outbox persistence that extends the generic database interface IDb.

IProjectionDb

Represents a database abstraction for SQL read-side projection persistence that extends the generic database interface IDb.

ISagaDb

Represents a database abstraction for saga state persistence that extends the generic database interface IDb.

IUnitOfWork

Represents a unit of work for coordinating database operations within a transaction.

Enums

TenantConfinement

The argument that makes it correct for a relational data request to carry no tenant term.