public void Delete(Expression <Func <T, bool> > where) { MongoCommandRepository.Delete(where); }
public Task DeleteAsync(object key) { return(MongoCommandRepository.DeleteAsync(key)); }
public Task AddRangeAsync(IEnumerable <T> items) { return(MongoCommandRepository.AddRangeAsync(items)); }
public void Delete(object key) { MongoCommandRepository.Delete(key); }
public Task AddAsync(T item) { return(MongoCommandRepository.AddAsync(item)); }
public void AddRange(IEnumerable <T> items) { MongoCommandRepository.AddRange(items); }
public Task UpdatePartialAsync(object key, object item) { return(MongoCommandRepository.UpdatePartialAsync(key, item)); }
public void Add(T item) { MongoCommandRepository.Add(item); }
public void UpdatePartial(object key, object item) { MongoCommandRepository.UpdatePartial(key, item); }
public Task UpdateAsync(object key, T item) { return(MongoCommandRepository.UpdateAsync(key, item)); }
public void Update(object key, T item) { MongoCommandRepository.Update(key, item); }
public MongoRepository(IMongoContext context) { MongoCommandRepository = new MongoCommandRepository <T>(context); MongoQueryRepository = new MongoQueryRepository <T>(context); }
public Task DeleteAsync(Expression <Func <T, bool> > where) { return(MongoCommandRepository.DeleteAsync(where)); }