我正在写这样的查询:
var TheQuery = (from t in MyDC.Table1
where ....
select new SomeContainerModel()
{
Collection1 = (from t2 in MyDC.Table2
....
select new SomeModel()
{
SomeID = t2.SomeID
}
Collection2 = (from x in Collection1
from t3 in MyDC.Table3
where x.SomeID == t3.SomeOtherID
我想要做的是将 的结果Collection1
用作Collection2
.
那可能吗?