コード例 #1
0
 public void FromWrapper(SPStatReportWrapper wrapper)
 {
     this.Id             = wrapper.Id;
     this.ChannelID      = wrapper.ChannelID;
     this.Stat           = wrapper.Stat;
     this.LinkID         = wrapper.LinkID;
     this.QueryString    = wrapper.QueryString;
     this.RequestContent = wrapper.RequestContent;
     this.CreateDate     = wrapper.CreateDate;
     this.IsPayOk        = wrapper.IsPayOk;
 }
コード例 #2
0
        public SPStatReportWrapper ToWrapper()
        {
            SPStatReportWrapper wrapper = new SPStatReportWrapper();

            wrapper.Id             = this.Id;
            wrapper.ChannelID      = this.ChannelID;
            wrapper.Stat           = this.Stat;
            wrapper.LinkID         = this.LinkID;
            wrapper.QueryString    = this.QueryString;
            wrapper.RequestContent = this.RequestContent;
            wrapper.CreateDate     = this.CreateDate;
            wrapper.IsPayOk        = this.IsPayOk;

            return(wrapper);
        }