Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Cfg
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28637/src/NHibernate/Cfg
Modified Files:
Environment.cs
Log Message:
This was ported code that was not needed. The enum IsolationLevel
already converts itself to a nice friendly name.
Index: Environment.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Cfg/Environment.cs,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** Environment.cs 20 Jul 2004 13:52:52 -0000 1.15
--- Environment.cs 28 Aug 2004 04:08:43 -0000 1.16
***************
*** 31,36 ****
private static IDictionary properties = new Hashtable();
! private static IDictionary isolationLevels = new Hashtable();
!
private const string Version = "prealpha";
--- 31,35 ----
private static IDictionary properties = new Hashtable();
!
private const string Version = "prealpha";
***************
*** 63,72 ****
log4net.Config.DOMConfigurator.Configure();
- isolationLevels.Add( System.Data.IsolationLevel.Chaos, "NONE" );
- isolationLevels.Add( System.Data.IsolationLevel.ReadUncommitted, "READ_UNCOMMITTED" );
- isolationLevels.Add( System.Data.IsolationLevel.ReadCommitted, "READ_COMMITTED" );
- isolationLevels.Add( System.Data.IsolationLevel.RepeatableRead, "REPEATABLE_READ" );
- isolationLevels.Add( System.Data.IsolationLevel.Serializable, "SERIALIZABLE" );
-
NameValueCollection props = System.Configuration.ConfigurationSettings.GetConfig("nhibernate") as NameValueCollection;
if (props==null)
--- 62,65 ----
|