Skip to content

TransactionlessUnitOfWork constructor

A unit of work implementation without an underlying actual transaction. Use with care, only to pass an IUnitOfWork instance to some methods where you don't want to actually start a transaction.

public TransactionlessUnitOfWork(IDbConnection connection)
parameter description
connection The connection.

Exceptions

exception condition
ArgumentNullException connection

Remarks

Initializes a new instance of the class.

See Also