Example #1
0
        /// <summary>
        /// 保存wlogweeksummarydata数据集数据
        /// </summary>
        /// <param name="wlogweeksummarydata">数据集对象</param>
        /// <returns>返回保存后的响应信息</returns>
        public String SaveWLOGWeekSummary(WLOGWeekSummaryData wlogweeksummarydata)
        {
            #region
            WLOGWeekSummaryClass wlogweeksummaryclass = new WLOGWeekSummaryClass();
            return(base.Save(wlogweeksummarydata, wlogweeksummaryclass));

            #endregion
        }
Example #2
0
        /****************************************
         ***生成器版本:V1.0.1.31494
         ***生成时间:2013-04-24 18:43:49
         ***公司:山西ICat Studio有限公司
         ***友情提示:以下代码为生成器自动生成,可做参照修改之用;
         ***         如需有其他业务要求,可在region外添加新方法;
         ***         如发现任何编译和运行时错误,请联系QQ:330669393。
         *****************************************/

        #region public members methods

        /// <summary>
        /// 根据条件筛选所有WLOGWeekSummary指定页码的数据(分页型)
        /// </summary>
        /// <param name="wlogweeksummary">实体对象</param>
        /// <param name="pageparams">分页对象</param>
        /// <returns></returns>
        public string GetJsonByPage(EntityWLOGWeekSummary wlogweeksummary, PageParams pageparams)
        {
            #region
            int totalCount = 0;
            WLOGWeekSummaryClass wlogweeksummaryclass = new WLOGWeekSummaryClass();
            pageparams.PageSorts.Add(new PageSort(WLOGWeekSummaryData.writeTime, EnumSQLOrderBY.DESC));
            DataSet wlogweeksummarydata = this.GetData(wlogweeksummary, pageparams, out totalCount);
            return(base.GetJson(wlogweeksummarydata, totalCount));

            #endregion
        }