Example #1
0
 public void Delete(Expression <Func <T, bool> > where)
 {
     MongoCommandRepository.Delete(where);
 }
Example #2
0
 public Task DeleteAsync(object key)
 {
     return(MongoCommandRepository.DeleteAsync(key));
 }
Example #3
0
 public Task AddRangeAsync(IEnumerable <T> items)
 {
     return(MongoCommandRepository.AddRangeAsync(items));
 }
Example #4
0
 public void Delete(object key)
 {
     MongoCommandRepository.Delete(key);
 }
Example #5
0
 public Task AddAsync(T item)
 {
     return(MongoCommandRepository.AddAsync(item));
 }
Example #6
0
 public void AddRange(IEnumerable <T> items)
 {
     MongoCommandRepository.AddRange(items);
 }
Example #7
0
 public Task UpdatePartialAsync(object key, object item)
 {
     return(MongoCommandRepository.UpdatePartialAsync(key, item));
 }
Example #8
0
 public void Add(T item)
 {
     MongoCommandRepository.Add(item);
 }
Example #9
0
 public void UpdatePartial(object key, object item)
 {
     MongoCommandRepository.UpdatePartial(key, item);
 }
Example #10
0
 public Task UpdateAsync(object key, T item)
 {
     return(MongoCommandRepository.UpdateAsync(key, item));
 }
Example #11
0
 public void Update(object key, T item)
 {
     MongoCommandRepository.Update(key, item);
 }
Example #12
0
 public MongoRepository(IMongoContext context)
 {
     MongoCommandRepository = new MongoCommandRepository <T>(context);
     MongoQueryRepository   = new MongoQueryRepository <T>(context);
 }
Example #13
0
 public Task DeleteAsync(Expression <Func <T, bool> > where)
 {
     return(MongoCommandRepository.DeleteAsync(where));
 }