///<summary>Updates a single pharmclinic object.</summary> ///<param name="pharmClinic">The PharmClinic to update.</param> public static void Update(PharmClinic pharmClinic) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { Meth.GetVoid(MethodBase.GetCurrentMethod(), pharmClinic); return; } Crud.PharmClinicCrud.Update(pharmClinic); }
///<summary></summary> ///<param name="pharmClinic">The PharmClinic to insert.</param> public static long Insert(PharmClinic pharmClinic) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { pharmClinic.PharmClinicNum = Meth.GetLong(MethodBase.GetCurrentMethod(), pharmClinic); return(pharmClinic.PharmClinicNum); } return(Crud.PharmClinicCrud.Insert(pharmClinic)); }