コード例 #1
0
 public virtual Task InserirItemAsync(T item)
 {
     return(_mongoDbContext.AddCommand(async() => await Collection.InsertOneAsync(item)));
 }
コード例 #2
0
 public async Task Delete(Expression <Func <TEntity, bool> > expression)
 {
     await context.AddCommand(() => dbSet.DeleteManyAsync(expression));
 }