2017年5月31日
摘要: 代码: 分别是 条件、排序、字段过滤。 阅读全文
posted @ 2017-05-31 17:29 邢帅杰 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 官网:https://docs.automapper.org/en/stable/Getting-started.html#how-do-i-use-automapper参考:https://www.cnblogs.com/wl-blog/p/16403607.html using AutoMapp 阅读全文
posted @ 2017-05-31 15:30 邢帅杰 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 加载部分视图的方法:Partial() 、RenderPartial() 、 Action() 、RenderAction() 、 RenderPage() partial 与 RenderPartial 方法 Razor 语法: @Html.Partial() 与 @{Html.RenderPar 阅读全文
posted @ 2017-05-31 14:56 邢帅杰 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 代码: 使用方法: @Html.CheckBoxListFor(item => item.AllRoles, "Roles", 5) @Html.DropdownListFor(item => item.AllRoles, "Roles") @Html.DropdownList("AllRoles" 阅读全文
posted @ 2017-05-31 14:06 邢帅杰 阅读(675) 评论(0) 推荐(0) 编辑