AddDeedbox(Action<DeedboxBuilder>) |
Registers Deedbox. Configuration errors throw here. |
DeedboxBuilder |
Schema, ApplySchemaOnStartup, Stream<T>, Projection<T>, Subscription<T>, OnAppending<T>, Keys, PseudonymPrefix, Runner, ConfigureJson, UseJsonContext, ExecuteRetries. |
StreamBuilder<TState> |
Event<T>, Events<T1..T6>, EventsNestedIn, StateVersion, Snapshots. |
EventBuilder<TEvent> |
Name, Alias, From (JSON upcaster), Upcast<TOld, TNew>. |
IState<TSelf> |
Initial and Evolve: what a state type implements. |
IEventStore |
Load, ReadStream, Append, Execute, DeleteStream, UseTransaction, WithMetadata. Scoped. Its members have no Async suffix. Apps call it; they do not implement it. |
ExpectedVersion |
Any, NoStream, Exact(n). |
LoadResult<T>, AppendResult, ExecuteResult<T> |
What the store returns, as properties. var (state, version) = await store.Load<T>(id) works. |
EventEnvelope |
A stored event with its IDs, positions, metadata and erased subjects. |
EventMetadata |
Correlation, causation, actor, trace context and string headers. |
DeedboxContext |
The scope’s tenant and metadata. Scoped. |
StreamId |
From(Guid) and Deterministic(namespace, parts). |
SnapshotPolicy |
EveryAppend, Every(n), Never. |
Projection, ProjectionContext |
An ADO.NET or Dapper projection and what its handlers see. |
BatchProjection |
An async projection that receives whole batches. |
WriteContext |
Where a reset or a batch writes. |
Run |
Inline or Async. |
Subscription, SubscriptionContext |
A side-effect handler, delivered at least once. |
SubscriptionStart |
FirstEvent, the default, or Now: where a new subscription starts. |
IAppendingHook, AppendingContext, PendingEvent |
Code that runs inside every append’s transaction. |
RunnerOptions |
Background runner settings. |
DataSubjectAttribute, PersonalDataAttribute |
Mark personal data. |
KeysBuilder, IMasterKeyProvider, WrappedKey |
Choose where the master key lives. WrapAsync returns a WrappedKey: the Bytes and the KeyVersion that wrapped them. |
ISubjectErasure |
Erase a data subject in the scope’s tenant. |
IPseudonyms |
Compute a pseudonymous subject ID from an identity, and erase by identity, in the scope’s tenant. Scoped. |
PseudonymPeriod |
Quarter(at) and Month(at): calendar period IDs in UTC. |
SubjectErased, StreamDeleted |
Built-in events every handler can handle. |
IEventStoreAdmin |
Status, jobs, rebuild, rebuild with the archive, retire, skip, erase, erase by identity, pseudonym period destroy, snapshots, archive, key re-wrap, tenant shred. Apps call it; they do not implement it. |
StreamKey |
A tenant and a stream ID: what ArchiveStreamsAsync takes. |
StoreStatus, ConsumerStatus, JobInfo |
What the admin API returns, as properties. JobInfo has CreatedAt, StartedAt and FinishedAt. |
ConsumerMode, ConsumerState, JobKind, JobState |
The enums of ConsumerStatus.Mode, ConsumerStatus.Status, JobInfo.Kind and JobInfo.Status. |
ErasureResult |
JobIds and KeysDeleted: what EraseSubjectAsync and EraseIdentityAsync of the admin API return. |
AddDeedboxHealthChecks() |
The health check. |
DeedboxException, ConcurrencyException |
Errors, each with a DBX code. |
DeedboxError |
Every DBX code as a constant, such as DeedboxError.StreamDeleted. |