未检索外键

时间:2018-08-08 22:59:11

标签: asp.net-mvc linq entity-framework-6

var student = _context.Appointments.Include(r => r.Request).SingleOrDefault(appo => appo.AppointmentUniqueId == id);

Valid XHTML

1 个答案:

答案 0 :(得分:0)

要处理的信息并不多,但是看起来文本框已绑定到Request而不是Request.Id