TransactionalProjectionOptionsType

PackageFCQRS
Options for a named transactional projection. Use a distinct name for each read model. Reusing a name resumes its stored progress; do not reuse it for an empty or different model.

Specification

Kind
Type
Members
6
Examples
0
``.ctor``Signature
TransactionalProjectionOptions(name, store)
BatchSizeSignature
this.BatchSize
NameSignature
this.Name
PollIntervalSignature
this.PollInterval
CatchUpTimeoutSignature
this.CatchUpTimeout

Summary

NameSignatureSynopsis
``.ctor``TransactionalProjectionOptions(name, store)No description available.
BatchSizethis.BatchSizeMaximum number of events fetched for one persistence ID per query.
Namethis.NameStable identity of the read model and its durable progress.
PollIntervalthis.PollIntervalDelay between background journal-head queries, after the previous batch finishes.
CatchUpTimeoutthis.CatchUpTimeoutBound for the entire catch-up call, including snapshot capture.
Storethis.StoreAuthoritative journal connection and transactional read-model store.

``.ctor``

TransactionalProjectionOptions(name, store)
Member

Parameters

NameTypeDescription
namestring
storeSqlProjectionStore

Returns

TransactionalProjectionOptions

BatchSize

this.BatchSize
Member
Maximum number of events fetched for one persistence ID per query. Default: 500.

Returns

int

Name

this.Name
Member
Stable identity of the read model and its durable progress.

Returns

string

PollInterval

this.PollInterval
Member
Delay between background journal-head queries, after the previous batch finishes. CatchUpAsync captures its own snapshot immediately. Default: one second.

Returns

TimeSpan

CatchUpTimeout

this.CatchUpTimeout
Member
Bound for the entire catch-up call, including snapshot capture. Default: 30 seconds.

Returns

TimeSpan

Store

this.Store
Member
Authoritative journal connection and transactional read-model store.

Returns

SqlProjectionStore