Ejemplo n.º 1
0
 public void CreateEmptyAction()
 {
     DbCtx.Actions.Add(new TurnOnAction
     {
         Sequence = 1,
         Trigger  = new CronTrigger {
             CronExpression = "* * * 12"
         },
     });
     DbCtx.Commit();
 }