示例#1
0
 public IEnumerable <TEntity> GetAll()
 {
     return(_unitOfWork.GetConnection().Fetch <TEntity>());
 }
示例#2
0
 public async Task <IEnumerable <TEntity> > GetAllAsync()
 {
     return(await _unitOfWork.GetConnection().FetchAsync <TEntity>());
 }