摘要: var qGroup = from dispatch in _dispatchRepository.GetAll() group dispatch by dispatch.DeviceId into g select g.Key + "_" + g.Max(d => d.BeginTime); ... 阅读全文
posted @ 2017-06-02 11:53 码农丁 阅读(1738) 评论(0) 推荐(0) 编辑
摘要: 调用 阅读全文
posted @ 2017-06-01 11:22 码农丁 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 理清思路,记录以备忘。 XPName:项目名称 XEName:菜单名称 X:\XPName\angular>:命令行路径 第一步: XPName.AngularUI/src/shared/layout/topbar.component.ts文件内添加 menuItems: MenuItem[] = 阅读全文
posted @ 2017-05-21 19:26 码农丁 阅读(525) 评论(0) 推荐(0) 编辑
摘要: $ ng generate component xxxx xxxx表示组件的名称 阅读全文
posted @ 2017-05-21 17:53 码农丁 阅读(502) 评论(0) 推荐(0) 编辑
摘要: public class XEntity: FullAuditedEntity<Guid> { } 记录以备忘 阅读全文
posted @ 2017-05-21 15:33 码农丁 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 工具=》NuGet 包管理器=》程序包管理器控制台 阅读全文
posted @ 2017-05-21 15:14 码农丁 阅读(6882) 评论(0) 推荐(1) 编辑
摘要: 在“https://www.microsoft.com/net/download/core#/runtime”页面 下载文件“.NET Core 1.1.2 runtime (Current)”,安装后就可以了。 阅读全文
posted @ 2017-05-20 18:19 码农丁 阅读(369) 评论(0) 推荐(1) 编辑
摘要: 如果该装的都装了,那就重启服务器,祝你好运! 阅读全文
posted @ 2017-04-23 17:31 码农丁 阅读(581) 评论(0) 推荐(0) 编辑
摘要: public virtual async Task Index() { var res = await _userManager.GetUserAsync(HttpContext.User); return View(); } 阅读全文
posted @ 2017-04-23 17:15 码农丁 阅读(5419) 评论(0) 推荐(1) 编辑