Exemplo n.º 1
0
 public MongoRepository(string connectionString)
 {
     _collection = MongoUtility.GetCollectionFromConnectionString <T>(MongoUtility.GetDefaultConnectionString());
 }
Exemplo n.º 2
0
 public MongoRepository()
     : this(MongoUtility.GetDefaultConnectionString())
 {
 }