Example #1
0
 /// <summary>
 /// GetData
 /// </summary>
 /// <param name="inparam">inparam</param>
 /// <param name="address">address</param>
 /// <returns>结果</returns>
 public MPagerOutParam GetData(MPagerInParam inparam, string address)
 {
     string json = JsonConvert.SerializeObject(inparam);
     Dictionary<string, string> dic = new Dictionary<string, string>();
     dic.Add("json", json);
     return WebApiHelper.Get<MPagerOutParam>(address + "/", dic);
 }
Example #2
0
        /// <summary>
        /// 拷贝函数
        /// </summary>
        /// <returns>返回</returns>
        public MPagerInParam Copy()
        {
            MPagerInParam copy = new MPagerInParam()
            {
                Parameters = this.Parameters,
                Sort = this.Sort,
                DataBaseName = this.DataBaseName,
                FieldNames = this.FieldNames,
                TableName = this.TableName,
            };

            return copy;
        }