2015年3月21日

摘要: 1.原料类namespace CreateObjects{ public class GenericClass { }}PersonDao 类 包含嵌套类型namespace CreateObjects{ public class PersonDao { public class Person {... 阅读全文
posted @ 2015-03-21 10:14 听哥哥的话 阅读(335) 评论(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) 编辑

导航