///<summary></summary> public static long Insert(FormularyMed formularyMed) { if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){ formularyMed.FormularyMedNum=Meth.GetLong(MethodBase.GetCurrentMethod(),formularyMed); return formularyMed.FormularyMedNum; } return Crud.FormularyMedCrud.Insert(formularyMed); }
///<summary></summary> public static long Insert(FormularyMed formularyMed) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { formularyMed.FormularyMedNum = Meth.GetLong(MethodBase.GetCurrentMethod(), formularyMed); return(formularyMed.FormularyMedNum); } return(Crud.FormularyMedCrud.Insert(formularyMed)); }