Exemple #1
0
 ///<summary></summary>
 public static void Update(EhrCarePlan ehrCarePlan)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         Meth.GetVoid(MethodBase.GetCurrentMethod(), ehrCarePlan);
         return;
     }
     Crud.EhrCarePlanCrud.Update(ehrCarePlan);
 }
Exemple #2
0
 ///<summary></summary>
 public static long Insert(EhrCarePlan ehrCarePlan)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         ehrCarePlan.EhrCarePlanNum = Meth.GetLong(MethodBase.GetCurrentMethod(), ehrCarePlan);
         return(ehrCarePlan.EhrCarePlanNum);
     }
     return(Crud.EhrCarePlanCrud.Insert(ehrCarePlan));
 }