Exemplo n.º 1
0
 public IDatabaseManager GetMssqlManager(string managerName)        // TODO lambda - m => m.ConnectionString ==...
 {
     return(DatabaseManagers.SingleOrDefault(m => m.Name == managerName));
 }
Exemplo n.º 2
0
 public IDatabaseManager SetActiveManager(string managerName)
 {
     return(ActiveManager = DatabaseManagers.SingleOrDefault(m => m.Name == managerName));
 }