sunny123456

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2019年10月30日

摘要: 原文连接 https://www.cnblogs.com/fuyouchen/p/9388251.html 一、原理:        如何查看真正执行的SQL是怎样的?            &nbs 阅读全文
posted @ 2019-10-30 19:04 sunny123456 阅读(1361) 评论(0) 推荐(1)

摘要: https://blog.csdn.net/qq_38627581/article/details/78032486 <! flowchart 箭头图标 勿删 问题时这样的 var now = new Date("2000 01 02"); var nowTime = now.getTime(); 阅读全文
posted @ 2019-10-30 16:18 sunny123456 阅读(553) 评论(0) 推荐(0)

2019年10月25日

摘要: 判断文件真实的类型,不是通过扩展名来判断:而是通过byte[]数组前两位编码来判断, 原文连接 https://www.cnblogs.com/Percy_Lee/p/4980451.html /// <summary> /// 判断文件格式 /// http://www.cnblogs 阅读全文
posted @ 2019-10-25 08:49 sunny123456 阅读(1893) 评论(0) 推荐(0)

2019年10月17日

摘要: 原文链接 https://www.cnblogs.com/heartofrainbow/p/5700339.html 新建一个控制台程序ConsoleApplication1 1、where()用法:必须加条件,且返回对象结果。    static void Main(strin 阅读全文
posted @ 2019-10-17 19:48 sunny123456 阅读(13337) 评论(0) 推荐(1)

摘要: var result = dogs.Where(d = d.Id 1).Join(masters, d = d.MasterId, m = m.Id, (d, m) = new { DogName = d.Name, MasterName = m.Name }); 在dog的集合中查询dog.Id大 阅读全文
posted @ 2019-10-17 19:39 sunny123456 阅读(6303) 评论(0) 推荐(0)

摘要: 原文链接 最近在研究C 泛型集合的时候发现了List.Join方法,这个方法与C 中的string.Join方法还有js中的join方法不一样,不是根据分隔符链接字符串,而是根据两个对象关联起来生成新的数据。   List.Join方法更像SQL 中的JOIN连接,该方法是根据两个泛型集合 阅读全文
posted @ 2019-10-17 19:34 sunny123456 阅读(11877) 评论(0) 推荐(0)

摘要: https://www.csdn.net/gather_2a/MtTaQgysNjItYmxvZwO0O0OO0O0O.html 内容很长,需要耐心。 阅读全文
posted @ 2019-10-17 19:29 sunny123456 阅读(151) 评论(0) 推荐(0)

摘要: 原文链接 https://www.e learn.cn/content/net/1318737 一、第一种用法: public static IEnumerable<TResult> SelectMany<TSource, TResult>(this IEnumerable& 阅读全文
posted @ 2019-10-17 19:08 sunny123456 阅读(2275) 评论(0) 推荐(0)

摘要: 原文链接 : https://www.cnblogs.com/knightcoming/articles/6107755.html c 中查询表达式GroupBy的使用 说明: c 中实现IEnumerable<T>接口的类提供了很多扩展方法,其中Select,Where等为最常见的,且 阅读全文
posted @ 2019-10-17 18:55 sunny123456 阅读(793) 评论(0) 推荐(0)

2019年10月16日

摘要: 原文链接 https://blog.csdn.net/pan_junbiao/article/details/84523935 比如 ActionFilter中ActionExecutingContext filterContext可以拿到请求中的上下文。可以拿到请求action的名字control 阅读全文
posted @ 2019-10-16 09:39 sunny123456 阅读(1954) 评论(0) 推荐(0)