/// <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); }
/// <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; }