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