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