Ejemplo n.º 1
0
 public SQLPool(SqlConfig config)
 {
     this.ConnPool = new ConnectionPool(config);
 }
Ejemplo n.º 2
0
 public ConnectionPool(SqlConfig config)
 {
     this.itemCount = config.cacheCount;
     this.connstr   = string.Format("server={0};user id={1};password={2};database=",
                                    config.server, config.username, config.pwd);
 }