示例#1
0
 public async Task <bool> CodeExists(Guid id)
 {
     return(await _context.Set <TEntity>().AnyAsync(o => o.pkId == id));
 }