本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}