Ejemplo n.º 1
0
 ///<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);
 }
Ejemplo n.º 2
0
 ///<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));
 }