public VMDBCon(ModelDBCon modelDBCon) { _modelDBCon = modelDBCon; ServerId = _modelDBCon.ServerId; Host = _modelDBCon.Host; Port = _modelDBCon.Port; LstAvailStockExh = _modelDBCon.LstAvailStockExh; }
public CDBSource(ModelDBCon conf, IAlarmable client) { _conf = conf; _client = client; _mysqlConnector = new CMySQLConnector(_conf.Host, _conf.DatabaseName, "root", "profinvest", this, this); }
public static VMDBCon Create(ModelDBCon modelDBCon) { return(new VMDBCon(modelDBCon)); }