Table of Contents

Struct DbOutputState<TItem, TOutput>

Namespace
Rinku.Tracking.Committers
Assembly
Rinku.dll

Owns one database commit and its typed, per-item staging values.

public readonly struct DbOutputState<TItem, TOutput> : IDisposable

Type Parameters

TItem
TOutput
Implements
Inherited Members
Extension Methods

Constructors

DbOutputState(DbConnection, IsolationLevel?, int?)

Owns one database commit and its typed, per-item staging values.

public DbOutputState(DbConnection connection, IsolationLevel? isolationLevel = null, int? timeout = null)

Parameters

connection DbConnection
isolationLevel IsolationLevel?
timeout int?

Properties

Database

Gets the database commit state.

public DbCommitState Database { get; }

Property Value

DbCommitState

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Reset()

Discards staged values without changing tracking or the database transaction.

public void Reset()

Stage(TItem, TOutput)

Stages parameters without changing the item's accepted state.

public void Stage(TItem item, TOutput parameters)

Parameters

item TItem
parameters TOutput