0
我很努力地嘗試,但無法達到我的結果。我是linq新手。應該是什麼這個SQL查詢正確的LINQ查詢。請幫我解決這個問題。LINQ到SQL,不能解決大LINQ的sql語句
update Teacher set RemainingCredit = RemainingCredit- Course.Credit
from
CourseAssignTeacher
join Course on CourseAssignTeacher.CourseId = Course.Id
join Teacher on CourseAssignTeacher.TeacherId = Teacher.Id
where CourseAssignTeacher.Id = 1