string rep = "Joe Shmoe"
ObjectSet<StoreData> storeData = edmContext.StoreData;
ObjectSet<CallData> callData = edmContext.CallData;
IEnumerable<string> repStoreData = storeData.Where(r => r.RepName == rep).Select(s => s.Location);
IEnumerable<CallData> repCallData = Here is where I want to filter down the callData collection down to just the records that have a location that is contained in the repStoreData collection
私は何らかの形式の Join と Any を使用してみましたが、それらが求めている引数を本当に理解していません。
これは私の最善の試みであり、失敗です。
... = callData.Join(d => d.LOCATION.Any(repStoreData));