SchoolName = db.Sys_Company.Find(gr.SchoolCode).FullName

只需Model中指定好SchoolCode是Sys_Company的主键就行了!

05-11 19:19