Linqクエリで2つのEntityCollectionを比較することは可能ですか?
私はこの方法を試しました:
from t in _bdd.Table
where (idList).All(id=> t.ids.Contains(id))
select i).FirstOrDefault()
ここで、idListとidsは両方ともEntityCollectionです。
しかし、私はNotSupportedExceptionを受け取りました:
"Unable to create a constant value of type (ID) Only primitive types ('such as Int32, String, and Guid') are supported in this context"
1つのLinqクエリで2つのリストを比較する方法はありませんか?