02 2015 档案

[备用]AspNet MVC 中的上下文
摘要:http://www.cnblogs.com/luge/p/Mvc_Context.html 阅读全文

posted @ 2015-02-21 01:01 泰德 阅读(115) 评论(0) 推荐(0)

[备用]MVC中使用AuthorizeAttribute做身份验证操作
摘要:http://www.cnblogs.com/sky-net/p/4294576.html,写得很好 阅读全文

posted @ 2015-02-16 22:39 泰德 阅读(157) 评论(0) 推荐(0)

EF 中使用 firstordefoult() 的默认值
摘要:linq中常常用到firstordefoult(),那么defoult值是多少呢?这个就是选择的对象的默认值,比如:var a=(from s in db.tbMemberInfo where Member_ID=1 select s.Member_ID)... 阅读全文

posted @ 2015-02-07 16:18 泰德 阅读(512) 评论(0) 推荐(0)