示例#1
0
 public virtual async Task <TEntity> GetByIdAsync(TKeyType id)
 {
     return(await _dbContext.Set <TEntity>().FindAsync(id));
 }