コード例 #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="__factory"></param>
 public DataSourceProvider(ConnectionFactory __factory)
 {
     this.content_ = new DataSet( "TablePool" );
     this.factory_ = __factory;
 }
コード例 #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="factory"></param>
 public DataSourceAccessor(utils.ConnectionFactory __factory)
 {
     this.factory_ = __factory;
 }
コード例 #3
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="__adapter"></param>
        /// <param name="__dataset"></param>
        /// <param name="__timeOut"></param>
        /// <param name="__database_name"></param>
        private void initialize(DbDataAdapter __adapter, DataSet __dataset, int __timeOut, string __database_name)
        {
            this.adapter_ = __adapter;
            this.dataset_ = __dataset;
            this.factory_ = new SQLClientConnectionFactory();
            this.factory_.catalog = __database_name;

            this.timeout_ = __timeOut;
            this.tablenames_ = new Queue<string>();
        }