a guest Feb 20th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- DateTime selectedDate = Calendar1.SelectedDate;
- var result = context.EventsTable.Where(ev =>ev.EventDate.Equals(selectedDate));
- .Where(ev => EntityFunctions.TruncateTime(ev.EventDate) == selectedDate)
RAW Paste Data