///<summary></summary> public static void Update(DrugManufacturer drugManufacturer){ if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){ Meth.GetVoid(MethodBase.GetCurrentMethod(),drugManufacturer); return; } Crud.DrugManufacturerCrud.Update(drugManufacturer); }
///<summary></summary> public static long Insert(DrugManufacturer drugManufacturer){ if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){ drugManufacturer.DrugManufacturerNum=Meth.GetLong(MethodBase.GetCurrentMethod(),drugManufacturer); return drugManufacturer.DrugManufacturerNum; } return Crud.DrugManufacturerCrud.Insert(drugManufacturer); }
///<summary></summary> public static void Update(DrugManufacturer drugManufacturer) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { Meth.GetVoid(MethodBase.GetCurrentMethod(), drugManufacturer); return; } Crud.DrugManufacturerCrud.Update(drugManufacturer); }
///<summary></summary> public static long Insert(DrugManufacturer drugManufacturer) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { drugManufacturer.DrugManufacturerNum = Meth.GetLong(MethodBase.GetCurrentMethod(), drugManufacturer); return(drugManufacturer.DrugManufacturerNum); } return(Crud.DrugManufacturerCrud.Insert(drugManufacturer)); }