Esempio n. 1
0
        /// <summary>
        /// Creates a new IDbConnection instance which will be used by all elements using this ITransaction instance
        /// The COM+ transaction will flow to the used method.
        /// </summary>
        /// <param name="connectionString">Connection string to use</param>
        /// <returns>new IDbConnection instance</returns>
        protected override System.Data.IDbConnection CreateConnection(string connectionString)
        {
            DbUtilsComPlus dbUtilsToUse = new DbUtilsComPlus();

            return(dbUtilsToUse.CreateConnection(connectionString));
        }
 /// <summary>
 /// Creates a new IDbConnection instance which will be used by all elements using this ITransaction instance
 /// The COM+ transaction will flow to the used method.
 /// </summary>
 /// <param name="connectionString">Connection string to use</param>
 /// <returns>new IDbConnection instance</returns>
 protected override System.Data.IDbConnection CreateConnection(string connectionString)
 {
     DbUtilsComPlus dbUtilsToUse = new DbUtilsComPlus();
     return dbUtilsToUse.CreateConnection(connectionString);
 }