public DbDelegator(IDbConnectionFactory connectionFactory, IDelegatorBus delegatorBus = null) { ConnectionFactory = connectionFactory; DelegatorBus = delegatorBus ?? new DefaultDelegatorBus(); }
public static DbDelegator Create(string connectionString, IDelegatorBus dataBus = null) { var f = new SqlServerConnectionFactory(connectionString); return(new DbDelegator(f, dataBus)); }
public DbDelegatorTransaction(IDbConnection c, IDbTransaction t, IDelegatorBus delegatorBus) { _c = c; _t = t; _delegatorBus = delegatorBus; }
public static DbDelegator Create(IConnectionProperties connectionProperties, IDelegatorBus dataBus = null) { var f = new SqlServerConnectionFactory(connectionProperties); return(new DbDelegator(f, dataBus)); }