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


C# SoftProjectAreaEntityDomain.Default方法代码示例

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


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

示例1: Add

        /// <summary>
        /// 营销课堂--添加查询
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Add(SoftProjectAreaEntityDomain domain)
        {
            var resp = domain.Default();

            resp.Item.HandoutFileNameGuid = Guid.NewGuid().ToString();
            resp.Item.VideoFileNameGuid = Guid.NewGuid().ToString();

            resp.EditActions = new List<SoftProjectAreaEntity> {
                                new SoftProjectAreaEntity
                {
                    LableTitle="讲义",
                    ActionNameEn = "IndexEditHandout",
                    ControllName = "M_MarketingAttachment",
                    ActionFieldNames = "HandoutFileNameGuid",
                    HandoutFileNameGuid = resp.Item.HandoutFileNameGuid,
                },
                new SoftProjectAreaEntity
                {
                    LableTitle="视频",
                    ActionNameEn = "IndexEdit",
                    ControllName = "M_MarketingAttachment",
                    ActionFieldNames = "VideoFileNameGuid",
                    VideoFileNameGuid = resp.Item.VideoFileNameGuid,
                },

            };

            ModularOrFunCode = "MarketingAreas.M_Marketing.Add";
            resp.FunNameEn = "Add";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:37,代码来源:M_MarketingControll.cs

示例2: Add

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

示例3: Add

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

示例4: Add

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

示例5: Add

 /// <summary>
 /// 活动费用规定--添加查询
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult Add(SoftProjectAreaEntityDomain domain)
 {
     var resp = domain.Default();
     ModularOrFunCode = "ActivityAreas.Act_ActivityCostRegulation.Add";
     resp.FunNameEn = "Add";
     resp.ViewContextName = Design_ModularOrFun.PartialView;
     return View(Design_ModularOrFun.MainView, resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:13,代码来源:Act_ActivityCostRegulationControll.cs

示例6: AddCompCU

 /// <summary>
 /// 企业客户角色管理--添加查询
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult AddCompCU(SoftProjectAreaEntityDomain domain)
 {
     var resp = domain.Default();
     resp.Item.LoginCategoryID = 8;
     ModularOrFunCode = "AuthorizationAreas.Pre_Role.AddCompCU";
     //MenuCode = "AuthorizationPanel";
     resp.FunNameEn = "Add";
     return View("Edit", resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:14,代码来源:Pre_RoleController.cs

示例7: AddCompCP

 /// <summary>
 /// 企业合作商管理--添加查询
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult AddCompCP(SoftProjectAreaEntityDomain domain)
 {
     var resp = domain.Default();
     resp.Item.LoginCategoryID = 16;
     resp.FunNameEn = "Add";
     ModularOrFunCode = "AuthorizationAreas.Pre_User.AddCompCP";
     MenuCode = "AuthorizationPanel";
     resp.ViewContextName = Design_ModularOrFun.PartialView;
     return View(Design_ModularOrFun.MainView, resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:15,代码来源:Pre_UserController.cs

示例8: Add

 /// <summary>
 /// 活动调研模板--添加查询
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult Add(SoftProjectAreaEntityDomain domain)
 {
     var resp = domain.Default();
     #region 初始化代码
     #endregion
     ModularOrFunCode = "ActivityAreas.Act_SurveyTemplate.Add";
     resp.FunNameEn = "Add";
     resp.ViewContextName = Design_ModularOrFun.PartialView;
     return View(Design_ModularOrFun.MainView, resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:15,代码来源:Act_SurveyTemplateControll.cs

示例9: Add

 /// <summary>
 /// 会员等级--添加查询
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult Add(SoftProjectAreaEntityDomain domain)
 {
     var resp = domain.Default();
     resp.Item.Pre_CompanyID = LoginInfo.CompanyID;
     #region 初始化代码
     #endregion
     ModularOrFunCode = "MemberGradeAreas.MG_MemberGrade.Add";
     resp.FunNameEn = "Add";
     resp.ViewContextName = Design_ModularOrFun.PartialView;
     return View(Design_ModularOrFun.MainView, resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:16,代码来源:MG_MemberGradeControll.cs

示例10: Add

 /// <summary>
 /// 顾客充值--添加查询
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult Add(SoftProjectAreaEntityDomain domain)
 {
     var resp = domain.Default();
     #region 初始化代码
     #endregion
     resp.Item.Pre_UserID = domain.Item.Pre_UserID;
     ModularOrFunCode = "CustomerAreas.C_Recharge.Add";
     resp.FunNameEn = "Add";
     resp.ViewContextName = Design_ModularOrFun.PartialView;
     return View(Design_ModularOrFun.MainView, resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:16,代码来源:C_RechargeControll.cs

示例11: Add

        /// <summary>
        /// 我的案例--添加查询
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Add(SoftProjectAreaEntityDomain domain)
        {
            var resp = domain.Default();
            resp.Item.CaseSharingPersonID = LoginInfo.Sys_LoginInfoID;
            resp.Item.CaseSharingPerson = LoginInfo.UserName;
            resp.Item.CaseReleaseDate = DateTime.Now;

            ModularOrFunCode = "CaseArea.CA_Case.Add";
            resp.FunNameEn = "Add";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:17,代码来源:CA_CaseControll.cs

示例12: Add

        /// <summary>
        /// 指导内容--添加查询
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Add(SoftProjectAreaEntityDomain domain)
        {
            if (domain.Item.Pre_CompanyID == null)
                throw new Exception("主键不能为空");

            var resp = domain.Default();
            #region 初始化代码
            #endregion
            resp.Item.Pre_CompanyID = domain.Item.Pre_CompanyID;
            ModularOrFunCode = "FranchiseeAreas.Fra_Guidance.Add";
            resp.FunNameEn = "Add";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:19,代码来源:Fra_GuidanceControll.cs

示例13: Add

        /// <summary>
        /// 投诉--添加查询
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Add(SoftProjectAreaEntityDomain domain)
        {
            var resp = domain.Default();
            resp.Item.Pre_CompanyID = LoginInfo.CompanyID;
            resp.Item.ComplaintPersonID = LoginInfo.Sys_LoginInfoID;
            resp.Item.ComplaintPerson = LoginInfo.UserName;
            resp.Item.ComplaintDate = DateTime.Now;
            resp.Item.FraDispComplaintPerson = LoginInfo.UserName;

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

示例14: Add

 /// <summary>
 /// 工具管理--添加查询
 /// </summary>
 /// <param name="domain"></param>
 /// <returns></returns>
 public ActionResult Add(SoftProjectAreaEntityDomain domain)
 {
     var resp = domain.Default();
     #region 初始化代码
     #endregion
     resp.Item.ToolUploadPersonID = LoginInfo.Sys_LoginInfoID;
     resp.Item.ToolUploadPerson = LoginInfo.UserName;
     resp.Item.ToolUploadDate = DateTime.Now;
     resp.Item.ToolAttRefPKTableGuid = Guid.NewGuid().ToString();
     ModularOrFunCode = "ToolArea.T_Tool.Add";
     resp.FunNameEn = "Add";
     resp.ViewContextName = Design_ModularOrFun.PartialView;
     return View(Design_ModularOrFun.MainView, resp);
 }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:19,代码来源:T_ToolControll.cs

示例15: Add

        /// <summary>
        /// 顾客订单--添加查询
        /// </summary>
        /// <param name="domain"></param>
        /// <returns></returns>
        public ActionResult Add(SoftProjectAreaEntityDomain domain)
        {
            var resp = domain.Default();
            resp.Item.Pre_UserID = domain.Item.Pre_UserID;

            resp.EditAction = new SoftProjectAreaEntity
            {
                ActionNameEn = "IndexEdit",
                ControllName = "C_OrderDetail",
                ActionFieldNames = "C_OrderID",
                C_OrderID = resp.Item.C_OrderID,
            };

            ModularOrFunCode = "CustomerAreas.C_Order.Add";
            resp.FunNameEn = "Add";
            resp.ViewContextName = Design_ModularOrFun.PartialView;
            return View(Design_ModularOrFun.MainView, resp);
        }
开发者ID:GreatChuangSoftWare,项目名称:WuGU,代码行数:23,代码来源:C_OrderControll.cs


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