摘要: protected virtual void InitUcoHandle() { this.CheckLogin(); (_uco as LibBaseUCO).UserHandle = Session["UserHandle"] as UserHandle; this._uco.ProgId = 阅读全文
posted @ 2020-08-04 18:17 八英里 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 工具=》选项 阅读全文
posted @ 2020-08-04 17:23 八英里 阅读(180) 评论(0) 推荐(0) 编辑
摘要: PoolCreateObject 阅读全文
posted @ 2020-08-04 17:08 八英里 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 1、AsEnumerable()是延迟执行的,实际上什么都没有发生,当真正使用对象的时候(例如调用:First, Single, ToList....的时候)才执行。 2、AsEnumerable将一个序列向上转换为一个IEnumerable, 强制将Enumerable类下面的查询操作符绑定到后续 阅读全文
posted @ 2020-08-04 16:25 八英里 阅读(465) 评论(0) 推荐(0) 编辑
摘要: LinQ高级查询、组合查询、IQueryable集合类型 LinQ高级查询: 1、模糊查询(包含) Repeater1.DataSource = con.car.Where(r =>r.name.Contains(s)).ToList(); 2、开头 Repeater1.DataSource = c 阅读全文
posted @ 2020-08-04 15:18 八英里 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 写在前面 不知大家有没遇到过像“横放着的金字塔”一样的if else嵌套: if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { } } } } } } 我并没夸大其词,我是真的遇到过了!嵌套6、7层,一个函数 阅读全文
posted @ 2020-08-04 14:50 八英里 阅读(441) 评论(0) 推荐(0) 编辑
摘要: https://www.jetbrains.com/zh-cn/resharper/features/code_refactoring.html 阅读全文
posted @ 2020-08-04 13:56 八英里 阅读(1297) 评论(0) 推荐(0) 编辑