public void Enlist(IDbCommand command) { if (command.Connection == Inner.Connection) command.Transaction = Inner; }
protected override DbCommand CreateDbCommand() { var cmd = innerConnection.CreateCommand(); if (transaction != null) { transaction.Enlist(cmd); } return(cmd); }