public SQLPool(SqlConfig config) { this.ConnPool = new ConnectionPool(config); }
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); }