public IQueryable <ScheduleItem> GetScheduleItemsByTimeSlot(EventAddress eventAddress, Oxite.Modules.Conferences.Models.DateRangeAddress dateRangeAddress) { var query = from si in context.oxite_Conferences_ScheduleItems join e in context.oxite_Conferences_Events on si.EventID equals e.EventID where string.Compare(e.EventName, eventAddress.EventName, true) == 0 && si.StartTime >= dateRangeAddress.StartDate && si.EndTime <= dateRangeAddress.EndDate select si; return(projectScheduleItems(query)); }
public TimeslotDescription(DateRangeAddress dateRange, string label) { DateRange = dateRange; Label = label; }