Ejemplo n.º 1
0
        private void JobScheduleEntitySavingHandler(Entities.Runtime.EntityRecord record, EventArgs args)
        {
            switch (record.Status)
            {
            case EntityStatus.Deleting:
                break; //nothing to do

            default:
                var sched = (IJobSchedule)record.EntityInstance;
                OnJobScheduleSaving(sched);
                break;
            }
        }
Ejemplo n.º 2
0
 private void SaveEvents_SavingChanges(Entities.Runtime.EntityRecord record, EventArgs args)
 {
     record.CreateHistoryEntry();
 }