Exemplo n.º 1
0
 public MongoDBConnector(IDBCredentials dbCredentials)
 {
     _dbCredentials = dbCredentials;
 }
Exemplo n.º 2
0
 public static T GetDBConnectionString <T>(IDBCredentials DBCredentials)
 {
     return((T)Activator.CreateInstance(typeof(T), DBCredentials));
 }