0

I need to filter the data using a filter where CategoryId = 75 and (BrandId = 12 or BrandId = 3) but the equivalent Linq to Entity

4

1 に答える 1

2

C# と同じ名前の列を想定すると、次を使用してコンテキストをフィルター処理します。

.Where(w=>w.CategoryId==75 && (w.BrandId==12 || w.BrandId==3))
于 2012-07-03T14:03:31.947 に答える