2011年11月24日
摘要: 一、建立类库项目SpringNetDemo.DAO,同时建立两个文件1、IBLL.csnamespace SpringNetDemo.DAO{ public interface IPersonDao { void Save(); }}2、BLL.csnamespace SpringNetDemo.DAO{ public class PersonDao:IPersonDao { public void Save() { Console.WriteLine("save person...."); } }}二、建立控制台应用程序,命名SpringNetDemo.Test,并引用S 阅读全文
posted @ 2011-11-24 16:11 张林春 阅读(1991) 评论(2) 推荐(2) 编辑