mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* Access NHibernate Manager as read-only property rather than public field * Thanks Tommil
This commit is contained in:
@@ -39,7 +39,14 @@ namespace OpenSim.Data.NHibernate
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
public NHibernateManager manager;
|
||||
private NHibernateManager manager;
|
||||
public NHibernateManager Manager
|
||||
{
|
||||
get
|
||||
{
|
||||
return manager;
|
||||
}
|
||||
}
|
||||
|
||||
override public void Dispose() { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user