Ejemplo n.º 1
0
		///<summary></summary>
		public static long Insert(DispSupply dispSupply){
			if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){
				dispSupply.DispSupplyNum=Meth.GetLong(MethodBase.GetCurrentMethod(),dispSupply);
				return dispSupply.DispSupplyNum;
			}
			return Crud.DispSupplyCrud.Insert(dispSupply);
		}
Ejemplo n.º 2
0
 ///<summary></summary>
 public static long Insert(DispSupply dispSupply)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         dispSupply.DispSupplyNum = Meth.GetLong(MethodBase.GetCurrentMethod(), dispSupply);
         return(dispSupply.DispSupplyNum);
     }
     return(Crud.DispSupplyCrud.Insert(dispSupply));
 }