public static IQuery SaveNextNotification(Schedule schedule)
 {
     return UpdateBuilder.Update()
         .Set(ScheduleColumns.NextNotification).ToValue(schedule.NextNotification)
         .Where(ScheduleColumns.Name).EqualTo(schedule.Id)
         .In(TableName);
 }
 public SendNotification(Schedule schedule, DateTime due)
 {
     this.Schedule = schedule;
     Due = due;
 }
 public void SaveNextNotification(Schedule schedule)
 {
     gateway.ExecuteUsing(SchedulerData.Source, ScheduleTableAccess.SaveNextNotification(schedule));
 }
 public void SaveNextNotification(Schedule schedule)
 {
     _databaseGateway.ExecuteUsing(SchedulerData.Source, _queryFactory.SaveNextNotification(schedule.Name, schedule.NextNotification));
 }