Beispiel #1
0
 ///<summary></summary>
 public static void Update(JobControl jobControl)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         Meth.GetVoid(MethodBase.GetCurrentMethod(), jobControl);
         return;
     }
     Crud.JobControlCrud.Update(jobControl);
 }
Beispiel #2
0
 ///<summary></summary>
 public static long Insert(JobControl jobControl)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         jobControl.JobControlNum = Meth.GetLong(MethodBase.GetCurrentMethod(), jobControl);
         return(jobControl.JobControlNum);
     }
     return(Crud.JobControlCrud.Insert(jobControl));
 }