Esempio n. 1
0
 ///<summary></summary>
 public static void Update(ScheduledProcess scheduledProcess, ScheduledProcess oldScheduledProcess)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         Meth.GetVoid(MethodBase.GetCurrentMethod(), scheduledProcess, oldScheduledProcess);
         return;
     }
     Crud.ScheduledProcessCrud.Update(scheduledProcess, oldScheduledProcess);
 }
Esempio n. 2
0
 ///<summary></summary>
 public static long Insert(ScheduledProcess scheduledProcess)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         scheduledProcess.ScheduledProcessNum = Meth.GetLong(MethodBase.GetCurrentMethod(), scheduledProcess);
         return(scheduledProcess.ScheduledProcessNum);
     }
     return(Crud.ScheduledProcessCrud.Insert(scheduledProcess));
 }