示例#1
0
 public async void SaveAll() => await db.SaveChangesAsync();
示例#2
0
 public async Task <bool> CommitAsync()
 {
     return(await _context.SaveChangesAsync() > 0);
 }