예제 #1
0
 public async Task <List <Entry> > GetList(ExpFunc exp)
 {
     return(await _dbSet.Include(e => e.User).Where(exp).ToListAsync());
 }
예제 #2
0
 public async Task <Entry> GetOne(ExpFunc exp)
 {
     return(await _dbSet.Include(e => e.User).SingleOrDefaultAsync(exp));
 }
예제 #3
0
파일: FarmMapModule.cs 프로젝트: sgww/cozy
 public int Exp(int level)
 {
     return((int)(double)ExpFunc.Call(level)[0]);
 }