上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 48 下一页

2015年3月23日

摘要: 1.基础类publicclassHappy{publicoverridestringToString(){return"每天都开心,每天都有好心情";}}publicclassOneYear{publicoverridestringToString(){return"快乐的一年";}}publicc... 阅读全文
posted @ 2015-03-23 14:39 听哥哥的话 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 1.person类publicclassPerson{publicstringName{get;set;}publicintAge{get;set;}publicPersonFriend{get;set;}}2. persondao类publicclassPersonDao{privatePerso... 阅读全文
posted @ 2015-03-23 14:21 听哥哥的话 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1. 谈到高级语言编程,我们就会联想到设计模式;谈到设计模式,我们就会说道怎么样解耦合。而Spring.NET的IoC容器其中的一种用途就是解耦合,其最经典的应用就是:依赖注入(Dependeny Injection)简称DI,目前DI是最优秀的解耦方式之一。下面我就来谈谈依赖注入的应用场景。 ... 阅读全文
posted @ 2015-03-23 11:59 听哥哥的话 阅读(162) 评论(0) 推荐(0) 编辑

2015年3月21日

摘要: 1.原料类namespace CreateObjects{ public class GenericClass { }}PersonDao 类 包含嵌套类型namespace CreateObjects{ public class PersonDao { public class Person {... 阅读全文
posted @ 2015-03-21 10:14 听哥哥的话 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 1.persondao类namespace MyselfIoC{ public class PersonDao { public override string ToString() { return "我是PersonDao"; } }}2.xml 工厂文件3.工厂ioc 构造函数实例化一个ioc... 阅读全文
posted @ 2015-03-21 09:55 听哥哥的话 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 1.app.config <?xml version="1.0" encoding="utf-8" ?><configuration> <configSections> <sectionGroup name="spring"> <section name="context" type="Spring 阅读全文
posted @ 2015-03-21 09:45 听哥哥的话 阅读(134) 评论(0) 推荐(0) 编辑

2014年7月5日

摘要: select * from (select * from (select a1.*,ROW_NUMBER() over(order by mid) as rows from Menu as a1) a2 where rows=6 阅读全文
posted @ 2014-07-05 17:31 听哥哥的话 阅读(102) 评论(0) 推荐(0) 编辑

2014年6月17日

摘要: http://news.cnblogs.com/n/37759/ 阅读全文
posted @ 2014-06-17 11:22 听哥哥的话 阅读(94) 评论(0) 推荐(0) 编辑

2014年5月22日

摘要: 1 阅读全文
posted @ 2014-05-22 14:58 听哥哥的话 阅读(98) 评论(0) 推荐(0) 编辑

2014年5月15日

摘要: http://www.cnblogs.com/artech/archive/2007/03/02/661969.html 阅读全文
posted @ 2014-05-15 16:19 听哥哥的话 阅读(133) 评论(0) 推荐(0) 编辑
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 48 下一页

导航