예제 #1
0
        /// <summary>   Gets the t. </summary>
        ///
        /// <value> The t. </value>
        ///
        /// ### <typeparam name="T">    . </typeparam>
        ///
        /// ### <param name="aConnect">         . </param>
        /// ### <param name="bxConnections">    . </param>
        /// ### <param name="txConnections">    . </param>


        internal static ICommands LoadFactory <T>(WD.DataAccess.Helpers.Connect aConnect,
                                                  List <WD.DataAccess.Mitecs.WDDBConfig> bxConnections, List <WD.DataAccess.Mitecs.WDDBConfig> txConnections)
            where T : FactoryBase, new()
        {
            var factory = new T();
            var data    = factory.GetDataLayer(aConnect, bxConnections, txConnections);

            return(data);
        }
예제 #2
0
파일: MySqlDatabase.cs 프로젝트: achhee/DAL
        /// <summary>   Constructor. </summary>
        ///
        /// <remarks>   Asim Naeem, 7/20/2017. </remarks>
        ///
        /// <param name="aConnect">         . </param>
        /// <param name="bxConnections">    . </param>
        /// <param name="txConnections">    . </param>


        public MySqlDatabase(WD.DataAccess.Helpers.Connect aConnect,
                             List <WD.DataAccess.Mitecs.WDDBConfig> bxConnections, List <WD.DataAccess.Mitecs.WDDBConfig> txConnections) :
            base(aConnect, bxConnections, txConnections)
        {
        }