/// <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;
 }
示例#2
0
 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;
 }
示例#4
0
 /// <summary>
 /// Construcor
 /// </summary>
 /// <param name="connection">DataAccessConnectionDb</param>
 public DataAccessDb(DataAccessConnectionDb connection)
 {
     Connection        = connection;
     dbProviderFactory = DbProviderFactories.GetFactory(Connection.ProviderName);
 }