摘要: http://down2.51aspx.com/StarFramework.rarhttp://files.cnblogs.com/hjf1223/iBatisDemo.rar使用ibatis框架做项目:共五层:一、显示层(Web项目);二、业务逻辑层(NPetshop.Presentation)三、数据模型层(NPetshop.Domain)四、接口(NPetshop.Persistence)(有人叫持久层)五、服务层(NPetshop.Service)我觉得流程是这样的:当显示层(Web项目)需要数据时,它向业务逻辑层(NPetshop.Presentation)发送请求,因此在逻辑层将有 阅读全文
posted @ 2011-01-12 09:46 芝麻开门 阅读(2538) 评论(0) 推荐(0) 编辑
摘要: === Program that uses StreamReader [C#] ===using System;using System.IO;class Program{ static void Main() { // // It will free resources on its own. // string line; using (StreamReader reader = new StreamReader("file.txt")) { line = reader.ReadLine(); } Console.WriteLine(line); }}=== Program that us 阅读全文
posted @ 2011-01-12 09:43 芝麻开门 阅读(4888) 评论(0) 推荐(1) 编辑