Beispiel #1
0
 public void SetDbInfo(IDbDiscover discover, string server, string db, string uid, string pwd)
 {
     _discover = discover;
     _server   = server;
     _db       = db;
     _uid      = uid;
     _pwd      = pwd;
 }
Beispiel #2
0
 public bool GetDiscover(DbTypes dbType, out IDbDiscover dbDiscover)
 {
     dbDiscover = _dbDiscovers.FirstOrDefault(a => a.DbType == dbType);
     return(dbDiscover != null);
 }