linq普通语法
return
(from p in dc.TeacherBasicInformation where p.TeacherNum == num select p.PhotoSrc).FirstOrDefault();
Lambda表达式
return
dc.TeacherBasicInformation.Where(p => p.TeacherNum == num).Select(p => p.PhotoSrc).FirstOrDefault();