Beispiel #1
0
 ///<summary></summary>
 public static void Update(Formulary formulary)
 {
     if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){
         Meth.GetVoid(MethodBase.GetCurrentMethod(),formulary);
         return;
     }
     Crud.FormularyCrud.Update(formulary);
 }
Beispiel #2
0
 ///<summary></summary>
 public static long Insert(Formulary formulary)
 {
     if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){
         formulary.FormularyNum=Meth.GetLong(MethodBase.GetCurrentMethod(),formulary);
         return formulary.FormularyNum;
     }
     return Crud.FormularyCrud.Insert(formulary);
 }
Beispiel #3
0
 ///<summary></summary>
 public static void Update(Formulary formulary)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         Meth.GetVoid(MethodBase.GetCurrentMethod(), formulary);
         return;
     }
     Crud.FormularyCrud.Update(formulary);
 }
Beispiel #4
0
 ///<summary></summary>
 public static long Insert(Formulary formulary)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         formulary.FormularyNum = Meth.GetLong(MethodBase.GetCurrentMethod(), formulary);
         return(formulary.FormularyNum);
     }
     return(Crud.FormularyCrud.Insert(formulary));
 }