query_TMEditSheet = _
From tm In Context_DomainService1TMTM.GetTMTMSQuery()
From ts In Context_DomainService1TMTM.GetGECODsQuery()
Where tm.tmsDate = MainPage.TimeSheetDateSelect_selectdate.Date
Where tm.tmsUserID = ts.codType
在此上下文中无法访问定义方法
想要选择其用户名存在于codType(gecod表格)中的tmtms记录
请指导
答案 0 :(得分:0)
我认为你想做的是:
from tm in Context_DomainService1TMTM.GetTMTMSQuery()
join ts in Context_DomainService1TMTM.GetGECODsQuery() on tm.tmsUserID equals ts.codType
where tm.tmsDate = MainPage.TimeSheetDateSelect_selectdate.Date