Exemplo n.º 1
0
 public static IQuery SaveNextNotification(Schedule schedule)
 {
     return UpdateBuilder.Update()
         .Set(ScheduleColumns.NextNotification).ToValue(schedule.NextNotification)
         .Where(ScheduleColumns.Name).EqualTo(schedule.Id)
         .In(TableName);
 }
Exemplo n.º 2
0
 public SendNotification(Schedule schedule, DateTime due)
 {
     this.Schedule = schedule;
     Due = due;
 }
Exemplo n.º 3
0
 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));
 }