摘要: 转载至:https://blog.csdn.net/wangguanguo/article/details/46839793 三种去重的方法 1、List中的元素实现IEquatabe接口,并提供Equals方法和GetHashCode方法。 2、使用表达式 users.Where((x,i)=>u 阅读全文
posted @ 2018-04-01 22:06 权哥是神 阅读(1961) 评论(0) 推荐(0) 编辑
摘要: 转载: 标题: MVC输出缓存(OutputCache参数详解) 原文地址:http://blog.csdn.net/kebi007/article/details/59199115 现在几乎每个项目中都会有缓存,下面我们就一起来学习下asp.net mvc 缓存 一:首先你要知道你为什么要使用缓存 阅读全文
posted @ 2018-02-02 15:01 权哥是神 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 本文转载自:https://www.cnblogs.com/sunShineJing/p/5083184.html 创建mvc web application,采用code first 的方式,MVC5,EF6.0 整了一个网站。开发完之后。直接publish。就这样部署到服务器上了。 在使用过程中 阅读全文
posted @ 2018-01-12 13:58 权哥是神 阅读(881) 评论(0) 推荐(0) 编辑
摘要: 一丶 .Pyc 文件 python其实和java/c#一样,都是先编译,再解释语言 一丶 Python变量 一丶 Python变量 一丶 Python变量 一丶 Python变量 阅读全文
posted @ 2017-11-01 20:39 权哥是神 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 一丶 Python变量 变量定义的规则: 变量名只能是 字母、数字或下划线的任意组合 变量名的第一个字符不能是数字 以下关键字不能声明为变量名['and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'el 阅读全文
posted @ 2017-10-31 22:13 权哥是神 阅读(134) 评论(0) 推荐(0) 编辑
摘要: <title>CRM登陆</title> <script type="text/javascript"> if (window.parent.window != window) { window.top.location.href = "/Home/CheckLogin"; } </script> 阅读全文
posted @ 2016-12-22 01:15 权哥是神 阅读(236) 评论(0) 推荐(0) 编辑
摘要: public class PurviewPublic { #region 读取全部权限 public static List<PurviewInfo> QueryAllPurview() { List<PurviewInfo> lstPurview = new List<PurviewInfo>() 阅读全文
posted @ 2016-03-09 14:10 权哥是神 阅读(230) 评论(0) 推荐(0) 编辑