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