var query = _context.POS_ItemPriceListMaster.Where(c => c.FromDate >= FromDate && c.ToDate <= FromDate).Select(t=> t.ItemPriceListMasterID);
var query2 = from c in _context.POS_ItemPriceList
where query.Contains(c.ItemPriceListMasterID)
select c;
私はこれをしたいのですが、日付からのデータがありますが、クエリに結果はありませんデータベースフィールドはdatetimeです