/// <summary> /// Constructor /// </summary> /// <param name="connection">DataAccessConnection that begin this transaction</param> /// <param name="parentTransaction">Parent Transaction in that created this transaction</param> internal DataAccessTransactionDb(DataAccessConnectionDb connection, Transaction parentTransaction) : this( connection ) { ParentTransaction = parentTransaction; }
public DataAccessDbStandard(DataAccessConnectionDb connection) : base(connection) { }
/// <summary> /// Constructor /// </summary> /// <param name="connection">DataAccessConnection that begin this transaction</param> internal DataAccessTransactionDb(DataAccessConnectionDb connection) { Connection = connection; State = TransactionState.Opened; }
/// <summary> /// Construcor /// </summary> /// <param name="connection">DataAccessConnectionDb</param> public DataAccessDb(DataAccessConnectionDb connection) { Connection = connection; dbProviderFactory = DbProviderFactories.GetFactory(Connection.ProviderName); }