///<summary></summary> public static void Update(EhrCarePlan ehrCarePlan) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { Meth.GetVoid(MethodBase.GetCurrentMethod(), ehrCarePlan); return; } Crud.EhrCarePlanCrud.Update(ehrCarePlan); }
///<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)); }