public List<DAL.StuFillAnswers> FillsToCheck(int sid,int eid) { using (DAL.ExamSysEntities db = new DAL.ExamSysEntities()) { return db.StuFillAnswers.Where(x => x.StuID == sid && x.ExamID == eid).ToList(); } }
返回的是count为0的list
[ASP.NET]EF选一个空表的情况
时间: 2024-11-05 20:37:43