2011-08-05 23 views
0
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 

界定及方法選擇很多並不在此背景下訪問Silverlight和LINQ/RIA選擇如何,請執行下列操作

要選擇tmtms記錄,其用戶ID是存在於codType(在gecod表)

請指導

回答

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 
+0

非常感謝你 – Janth

相關問題