简单的NHibernate helper类,支持同一事务的批量数据处理

今天为了处理批量数据操作写了个简单的NHibernate helper类,支持同一事务的批量数据处理.

using System;
using System.Threading;
using System.Collections;
using System.Collections.Specialized;

using Nullables;
using Nullables.NHibernate;
using NHibernate;
using NHibernate.Cfg;


namespace NHibernate.Utils {
    
/// <summary>
    
/// 简单的NHibernate Helper类。支持同一事务内的批量数据处理。
    
/// </summary>

    public class NHHelper {

        
local variables

        
singleton pattern

        
transaction relax
        
        
public methods - CRUD
    }

}

posted @ 2005-03-27 17:46  Rayman  阅读(3733)  评论(9编辑  收藏  举报