Framework
ModelTransactionContext
Interface: ModelTransactionContext
Model-level transaction context for bulk operations. Allows models to participate in a shared transaction.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
context | readonly | ITransactionContext | Get the underlying transaction context. |
Methods
stageOperation()
stageOperation(model, op): voidStage a model operation.
Parameters
| Parameter | Type |
|---|---|
model | string |
op | StagedOperation |
Returns
void
trackRead()
trackRead(
model,
id,
version): voidTrack a read for version checking.
Parameters
| Parameter | Type |
|---|---|
model | string |
id | string |
version | number |
Returns
void
