///<summary></summary> public static void Update(DrugUnit drugUnit){ if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){ Meth.GetVoid(MethodBase.GetCurrentMethod(),drugUnit); return; } Crud.DrugUnitCrud.Update(drugUnit); }
///<summary></summary> public static long Insert(DrugUnit drugUnit){ if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){ drugUnit.DrugUnitNum=Meth.GetLong(MethodBase.GetCurrentMethod(),drugUnit); return drugUnit.DrugUnitNum; } return Crud.DrugUnitCrud.Insert(drugUnit); }
///<summary></summary> public static void Update(DrugUnit drugUnit) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { Meth.GetVoid(MethodBase.GetCurrentMethod(), drugUnit); return; } Crud.DrugUnitCrud.Update(drugUnit); }
///<summary></summary> public static long Insert(DrugUnit drugUnit) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { drugUnit.DrugUnitNum = Meth.GetLong(MethodBase.GetCurrentMethod(), drugUnit); return(drugUnit.DrugUnitNum); } return(Crud.DrugUnitCrud.Insert(drugUnit)); }