コード例 #1
0
 public async Task <IEnumerable <TargetAppModel> > ListModelWithDateAsync(DateTime checkDate)
 {
     return(await Queryable.Where(TargetAppExpression.MonitorList(checkDate)).Select(TargetAppExpression.Model).ToListAsync());
 }
コード例 #2
0
 public Task <TargetAppModel> GetModelAsync(long id)
 {
     return(Queryable.Where(TargetAppExpression.Id(id)).Select(TargetAppExpression.Model).SingleOrDefaultAsync());
 }