/// <summary> /// 构造函数 /// </summary> public BusinessManagement() { if (_current == null || _current.IsDisposed) { lock (lckObj) { if (_current == null || _current.IsDisposed) { _current = new BusinessUtility(NHibernateConfigFileName); } } } originLevel = _current.TranLevel; }
public void AddAssembly(string assemName) { BusinessUtility.AddAssembly(NHibernateConfigFileName, assemName); }
public void AddAssembly(Assembly assem) { BusinessUtility.AddAssembly(NHibernateConfigFileName, assem); }
public void ClearCache() { BusinessUtility.ClearSession(NHibernateConfigFileName); }