摘要: 我觉得我在没有调试.net 源代码之前,我都算不上一个.net 程序员 IDisposable void Dispose(); IEnumerator:IDisposable bool MoveNext(); void Reset(); object Current{get;} IEnumerato 阅读全文
posted @ 2017-10-19 21:13 给我一个理由 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 遵守的原则: 1. equals相等则hashcode必须相等 2. hashcode相等equals不一定相等 3. 哈希表的key尽量使用简单类型,否则的话怎么构造一个有效的hash函数会是一个大问题 其他自定义的类一般怎么重写virtual gethashcode 1. return stri 阅读全文
posted @ 2017-10-19 21:12 给我一个理由 阅读(166) 评论(0) 推荐(0) 编辑
摘要: "sql经典面试题" group by create table teacher(teacher nvarchar(10),teach_day int,teach_desc nchar(1)); insert into teacher values('老师1',2,'有') insert into 阅读全文
posted @ 2017-10-19 05:22 给我一个理由 阅读(1953) 评论(0) 推荐(0) 编辑
摘要: 链接地址 https://www.processon.com/view/link/59e71fbbe4b09000f03ce78e 总结: 1. 在Global.ascx 中我们使用RouteCollection中使用MapRoute注册了自己的RouteData,这里面就引入了IRouteHand 阅读全文
posted @ 2017-10-18 20:15 给我一个理由 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 1. 继承关系,3个abstract类System.Web.Mvc.Controller Nop.Web.Framework.Controllers.BaseController Nop.Admin.Controllers.BaseAdminController2. BaseController 1. Rend... 阅读全文
posted @ 2017-10-17 23:52 给我一个理由 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 这里简单介绍整个启动过程,其他具体的后续讲解 从Application_Start中执行开始,一开始执行EngineContext.Initialize(false); EngineContext 是对IEngine接口的一个封装,NopEngine则实现了IEngine接口,NopEngine主要 阅读全文
posted @ 2017-10-17 13:54 给我一个理由 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 1.you can create a file to store you installed addons and use git to store github.com just like that (comma seperate): AdvancedNewFile,AutoFileName,Co 阅读全文
posted @ 2017-04-10 12:55 给我一个理由 阅读(190) 评论(0) 推荐(0) 编辑
摘要: use localdb sometime is easy than sql server ,and always use visual studio make you stupid. vs2012中还原数据库到 localdb 实例,在vs的sql server服务器中连接上(localdb)\v1 阅读全文
posted @ 2015-03-25 21:16 给我一个理由 阅读(1489) 评论(0) 推荐(0) 编辑