当前位置: 首页>>代码示例>>C#>>正文


C# SoftProjectAreaEntityDomain.ByID方法代码示例

本文整理汇总了C#中SoftProject.Domain.SoftProjectAreaEntityDomain.ByID方法的典型用法代码示例。如果您正苦于以下问题:C# SoftProjectAreaEntityDomain.ByID方法的具体用法?C# SoftProjectAreaEntityDomain.ByID怎么用?C# SoftProjectAreaEntityDomain.ByID使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在SoftProject.Domain.SoftProjectAreaEntityDomain的用法示例。


在下文中一共展示了SoftProjectAreaEntityDomain.ByID方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Edit

 /// <summary>
 /// 文档类别管理--编辑查询
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult Edit(SoftProjectAreaEntityDomain domain)
 {
     ModularOrFunCode = "DocArea.Doc_Category.Index";
     domain.Design_ModularOrFun = Design_ModularOrFun;
     var resp = domain.ByID();
     ModularOrFunCode = "DocArea.Doc_Category.Edit";
     return View("PopupEdit", resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:13,代码来源:Doc_CategoryController.cs

示例2: Edit

 /// <summary>
 /// 组织机构管理--编辑查询
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult Edit(SoftProjectAreaEntityDomain domain)
 {
     ModularOrFunCode = "PreOrg_Area.Pre_Organization.Index";
     domain.Design_ModularOrFun = Design_ModularOrFun;
     var resp = domain.ByID();
     resp.Item.LoginCategoryID = 1;
     ModularOrFunCode = "PreOrg_Area.Pre_Organization.Edit";
     return View("PopupEdit", resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:14,代码来源:Pre_OrganizationController.cs

示例3: Detail

 /// <summary>
 /// 公司管理--编辑查询
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult Detail(SoftProjectAreaEntityDomain domain)
 {
     ModularOrFunCode = "AuthorizationAreas.Pre_Company.Detail";
     domain.Design_ModularOrFun = Design_ModularOrFun;
     var resp = domain.ByID();
     //MenuCode = "AuthorizationPanel";
     resp.ViewContextName = Design_ModularOrFun.PartialView;
     return View(Design_ModularOrFun.MainView, resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:14,代码来源:Pre_CompanyController.cs

示例4: Detail

        /// <summary>
        /// 活动调研模板--查看
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Detail(SoftProjectAreaEntityDomain domain)
        {
            ModularOrFunCode = "ActivityAreas.Act_SurveyTemplate.Detail";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var resp = domain.ByID();

            resp.FunNameEn = "Detail";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:15,代码来源:Act_SurveyTemplateControll.cs

示例5: DetailByCurrMonth

        /// <summary>
        /// 促销公告--查看
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult DetailByCurrMonth(SoftProjectAreaEntityDomain domain)
        {
            ModularOrFunCode = "PromotionAreas.Pr_Notice.DetailByCurrMonth";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var resp = domain.ByID();

            resp.FunNameEn = "Detail";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:15,代码来源:Pr_NoticeControll.cs

示例6: Edit

        /// <summary>
        /// 活动费用规定--编辑查询
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Edit(SoftProjectAreaEntityDomain domain)
        {
            ModularOrFunCode = "ActivityAreas.Act_ActivityCostRegulation.Edit";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var resp = domain.ByID();

            ModularOrFunCode = "ActivityAreas.Act_ActivityCostRegulation.Edit";
            resp.FunNameEn = "Edit";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:16,代码来源:Act_ActivityCostRegulationControll.cs

示例7: Detail

        /// <summary>
        /// 门店管理--查看
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Detail(SoftProjectAreaEntityDomain domain)
        {
            ModularOrFunCode = "FranchiseeAreas.Fra_Store.Detail";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var resp = domain.ByID();

            resp.Item.StoreContext = resp.Item.StoreContext.Replace("<input ", "<input disabled='disabled'");// (p => p.StoreContext = p.StoreContext.Replace("<input ", "<input disabled='disabled'"));
            resp.FunNameEn = "Detail";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:16,代码来源:Fra_StoreControll.cs

示例8: Detail

        /// <summary>
        /// 活动管理--查看
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Detail(SoftProjectAreaEntityDomain domain)
        {
            ModularOrFunCode = "ActivityAreas.Fra_Activity.Detail";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var resp = domain.ByID();

            resp.Item.ActivityFlowContext = resp.Item.ActivityFlowContext.Replace("<input ", "<input disabled='disabled'");
            resp.Item.ActivitySelfAtudyTable = resp.Item.ActivitySelfAtudyTable.Replace("<input ", "<input disabled='disabled'");
            resp.Item.ActivityConclusion = resp.Item.ActivityConclusion.Replace("<input ", "<input disabled='disabled'");

            resp.FunNameEn = "Detail";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:19,代码来源:Fra_ActivityControll.cs

示例9: Detail

        /// <summary>
        /// 合作商订单--查看
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Detail(SoftProjectAreaEntityDomain domain)
        {
            ModularOrFunCode = "PartnerAreas.BC_Order.Detail";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var resp = domain.ByID();
            resp.ChildAction = new SoftProjectAreaEntity
            {
                ActionNameEn = "IndexDetail",
                ControllName = "BC_OrderDetail",
                ActionFieldNames = "BC_OrderID",
                BC_OrderID = resp.Item.BC_OrderID,
            };

            resp.FunNameEn = "Detail";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:22,代码来源:BC_OrderControll.cs

示例10: EditCU

        /// <summary>
        /// 角色管理--编辑查询
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult EditCU(SoftProjectAreaEntityDomain domain)
        {
            ModularOrFunCode = "AuthorizationAreas.Pre_Role.DetailCU";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var resp = domain.ByID();

            ModularOrFunCode = "AuthorizationAreas.Pre_Role.EditCU";
            resp.FunNameEn = "Edit";
            return View("Edit", resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:15,代码来源:Pre_RoleController.cs

示例11: Detail1

        /// <summary>
        /// 公司管理--编辑查询
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Detail1(SoftProjectAreaEntityDomain domain)
        {
            domain.Item.Pre_CompanyID = LoginInfo.CompanyID;
            ModularOrFunCode = "AuthorizationAreas.Pre_Company.Detail1";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var resp = domain.ByID();

            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:15,代码来源:Pre_CompanyController.cs

示例12: UpLoad

        public ActionResult UpLoad(SoftProjectAreaEntityDomain domain)
        {
            #region 保存文件
            if (domain.Item.RefPKTableGuid == null)
                throw new Exception("附件Guid不能为空");
            domain.Item.AttachmentFileSizeDisp = ProjectCommon.FileSizeDisp(domain.Item.AttachmentFileSize);
            ModularOrFunCode = "ToolArea.T_ToolAttachment.Upload";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var respadd = domain.AddSave();
            #endregion

            if (respadd.Item.T_ToolAttachmentID == null)
                throw new Exception("添加失败");
            domain.Item.T_ToolAttachmentID = respadd.Item.T_ToolAttachmentID;
            ModularOrFunCode = "ToolArea.T_ToolAttachment.IndexEdit";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var resp = domain.ByID();

            resp.Items.Add(resp.Item);
            resp.FunNameEn = "Detail";
            resp.ViewContextName = Design_ModularOrFun.PartialView;

            return View("Rows", resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:24,代码来源:T_ToolAttachmentControll.cs

示例13: Row

 /// <summary>
 /// 组织机构管理--Row
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult Row(SoftProjectAreaEntityDomain domain)
 {
     ModularOrFunCode = "PreOrg_Area.Pre_Organization.Index";
     domain.Design_ModularOrFun = Design_ModularOrFun;
     var resp = domain.ByID();
     resp.Items.Add(resp.Item);
     ModularOrFunCode = "PreOrg_Area.Pre_Organization.Index";
     return View("Rows", resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:14,代码来源:Pre_OrganizationController.cs

示例14: Row

        /// <summary>
        /// 顾客充值--Row
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Row(SoftProjectAreaEntityDomain domain)
        {
            ModularOrFunCode = "CustomerAreas.C_Recharge.Index";
            domain.Design_ModularOrFun = Design_ModularOrFun;
            var resp = domain.ByID();

            resp.Items.Add(resp.Item);
            resp.FunNameEn = "Row";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View("Rows", resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:16,代码来源:C_RechargeControll.cs

示例15: Row

 /// <summary>
 /// 工具类别管理--Row
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult Row(SoftProjectAreaEntityDomain domain)
 {
     ModularOrFunCode = "ToolArea.T_ToolCategory.Index";
     domain.Design_ModularOrFun = Design_ModularOrFun;
     var resp = domain.ByID();
     resp.Items.Add(resp.Item);
     resp.ViewContextName = Design_ModularOrFun.PartialView;
     return View("Rows", resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:14,代码来源:T_ToolCategoryControll.cs


注:本文中的SoftProject.Domain.SoftProjectAreaEntityDomain.ByID方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。