I would like the ability to perform actions an existing Npgsql Connection and NpgsqlTransaction
so the connection would be open and the transaction in progress
so something like this
var sessionOptions = new SessionOptions
{
ExistingConnection = myNpgsqlConnection,
ExistingTransaction = myNpgsqlTransaction
};
using (var martenSession = martenStore.OpenSession(sessionOptions))
{
and given the openening of the connection and the begin of the transaction are done outside the scope of the marten session. then the cleanup and commit should also be outside the scope of the session.
I would like the ability to perform actions an existing Npgsql Connection and NpgsqlTransaction
so the connection would be open and the transaction in progress
so something like this
and given the openening of the connection and the begin of the transaction are done outside the scope of the marten session. then the cleanup and commit should also be outside the scope of the session.