6
で使用する辞書:それは作品リストを持つ一方でLINQ:私は、クエリ
Dictionary<int, List<int>> dict = new ...
var a = SomeEntity.Where(f => dict[f.key].Contains(f.someValue))
これはエラー
LINQ to Entities does not recognize the method 'System.Collections.Generic.List`1[System.Int32] get_Item(Int32)' method
を生成します私は何かが欠けていますか?
非常に明確な答え、ありがとう – ren