2 つのテーブルに結合を適用してテーブルからデータを取得していますが、次のエラーが発生しています。
Error 40 The type of one of the expressions in the join clause is incorrect. Type inference failed in the call to 'Join'. C:\Documents and Settings\Ashir\My Documents\OpenLearningSolutions08-01-2013\OpenLearningSolutions\purchase.aspx.cs 70 21 C:\...\OpenLearningSolutions\
ここに私のコードがあります:
OLSContainer ols = new OLSContainer();
var reSet = from l in ols.LEVEL_COURSE
join lp in ols.PACKAGES
on new { l.course_ID, l.levelID } equals new { lp.course_ID, lp.level_ID }
select l;
4 つの列はすべて int nullabe 型ですが、このエラーが発生しています。親切に私を助けてください。