Ejemplo n.º 1
0
 public VenuesReference(IDexCMSTicketsContext Context)
 {
     Example = Context.Venues.Where(x => x.Name == "Example Venue").Select(x => x.VenueID).Single();
 }
 public ScheduleStatusesReference(IDexCMSTicketsContext Context)
 {
     Tentative = Context.ScheduleStatuses.Where(x => x.Name == "Tentative").Select(x => x.ScheduleStatusID).Single();
     Confirmed = Context.ScheduleStatuses.Where(x => x.Name == "Confirmed").Select(x => x.ScheduleStatusID).Single();
 }
 public ScheduleTypesReference(IDexCMSTicketsContext Context)
 {
     Concert = Context.ScheduleTypes.Where(x => x.Name == "Concert").Select(x => x.ScheduleTypeID).Single();
     Drawing = Context.ScheduleTypes.Where(x => x.Name == "Drawing").Select(x => x.ScheduleTypeID).Single();
 }