Example #1
0
 protected override void InitParameter(NHExt.Runtime.Proxy.ProxyContext ctx)
 {
     base.InitParameter(ctx);
     if(ctx != null){
     if(this.CallerType == NHExt.Runtime.Session.CallerTypeEnum.WCF){
     this._HandleQuanDTO = NHExt.Runtime.Serialize.XmlSerialize.DeSerialize<IWEHAVE.ERP.CenterBE.Deploy.HandleQuanDTO >(ctx.ParamList[0].ToString());
     ctx.ParamList[0] = this._HandleQuanDTO;
     }
     else{
     if(ctx.ParamList.Count > 0){
     this._HandleQuanDTO = (IWEHAVE.ERP.CenterBE.Deploy.HandleQuanDTO )ctx.ParamList[0];
     }else{
     ctx.ParamList.Add(this._HandleQuanDTO);
     }
     }
     }
 }
Example #2
0
 public override void SetValue(object obj, string memberName)
 {
     switch(memberName){
     case "HandleQuanDTO" :
     this._HandleQuanDTO = this.TransferValue<IWEHAVE.ERP.CenterBE.Deploy.HandleQuanDTO>(obj);
     break;
     default:
     base.SetValue(obj,memberName);
     break;
     }
 }
Example #3
0
 public new virtual IWEHAVE.ERP.CenterBE.Deploy.HandleQuanDTO ToDTO()
 {
     IWEHAVE.ERP.CenterBE.Deploy.HandleQuanDTO dto = new IWEHAVE.ERP.CenterBE.Deploy.HandleQuanDTO();
     this.ToDTO(dto);
     return dto;
 }