Constructor RedbConnectionLease(DbConnection, DbTransaction?, Action)

Assembly: redb.Core.dll

A lease over connection. release gives the connection back (leaves
the command gates the lease entered); it runs once and must not close the connection.

public RedbConnectionLease(DbConnection connection, DbTransaction? transaction, Action release)