摘要: 参考:http://www.cnblogs.com/renrenqq/archive/2006/08/04/467688.html但这个方法还不能解决Session缓存问题,由于创建Session需要消耗大量的内存,参考上面的方法,当请求并发的时候,内存不断的增加。在网上找了很多种方法都没有解决。下面贴上主要代码:1、接口请参考上面文章using NHibernate;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;namespace XiaoR 阅读全文
posted @ 2013-10-30 15:23 rae 阅读(450) 评论(0) 推荐(0) 编辑