ex:
(from T in objts.tbl_Task.Where(a => a.PriorityID == pid && (Check condition)
select new {
T.TicketID,
T.TaskName,
T.Description
}).ToList();
How to find the given exist between two dates in entity fram
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Ramesh MaruthiRank #937 · 2.2K reputationPosted Mar 26, 2015, 5:46 AM EDT
where T.PriorityID == pid
&& (T.Start.Date >= startDate.Date &&T.Start.Date<= endDate)
select new
{T.TicketID,
T.TaskName,
T.Description
}).ToList();
VEERENDRA kUMAR185 reputationPosted Mar 26, 2015, 8:31 PM EDT
Ramesh MaruthiRank #937 · 2.2K reputationPosted Mar 27, 2015, 4:26 AM EDT