I have downloaded Microsoft Dynamic Query API. And using the dynamic query to filter the data using dates. I have written following query :-
Entities db = new Entities();
DateTime d = new DateTime(2014, 1, 17);
var lst = db.MSTPriorityS.Where("ModifiedOn == @0", d.Date.ToString()).ToList();
The result count, i am getting is 0. While there is data in the database table. Please advise what i am doing wrong?