I have a table of events, I need a linq query that will return all events from a certain month and year, not day.
something like
var monthquery = from c in db.events
where c.startdate.month == DateTime(MonthValue, Year Value)
select c;
I just don't know the syntax. What do I put in instead of MonthValue to get July, for instance?
Thanks in advance