我有ExpesnseIDVM ViewModel,它只包含一个变量ExpenseID来保存数据库中的最后一个值。ExpesnseIDVM> Profile(LoginVM loginVM) var data = (from a in context.Employees join b in context.Expenses on a.EmployeeId equals b.EmployeeId
当我查看EF生成的SQL查询时,我看到[extent1].Name as Name Select myview.ID as ID,myview.Name as NameWhere([Extent1].ID = @p_linq_0)
为什么outside select发生在inside我的Linq</em