标签: asp.net-mvc linq entity-framework-6
var student = _context.Appointments.Include(r => r.Request).SingleOrDefault(appo => appo.AppointmentUniqueId == id);
答案 0 :(得分:0)
要处理的信息并不多,但是看起来文本框已绑定到Request而不是Request.Id
Request
Request.Id