From: Michael D. <mik...@us...> - 2005-01-17 03:41:43
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Cfg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11286/NHibernate/Cfg Modified Files: Binder.cs Log Message: Renamed NHibernate.NHibernate to NHibernate.NHibernateUtil. Index: Binder.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Cfg/Binder.cs,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** Binder.cs 3 Jan 2005 03:46:47 -0000 1.36 --- Binder.cs 17 Jan 2005 03:40:54 -0000 1.37 *************** *** 250,254 **** Value val = new Value(table); BindValue(subnode, val, false, propertyName); ! if ( val.Type==null ) val.Type = ( ("version".Equals(name)) ? NHibernate.Int32 : NHibernate.Timestamp ); Mapping.Property timestampProp = new Mapping.Property(val); BindProperty(subnode, timestampProp, mappings); --- 250,254 ---- Value val = new Value(table); BindValue(subnode, val, false, propertyName); ! if ( val.Type==null ) val.Type = ( ("version".Equals(name)) ? NHibernateUtil.Int32 : NHibernateUtil.Timestamp ); Mapping.Property timestampProp = new Mapping.Property(val); BindProperty(subnode, timestampProp, mappings); *************** *** 263,270 **** if ( discrim.Type==null ) { ! discrim.Type = NHibernate.String; foreach(Column col in discrim.ColumnCollection) { ! col.Type = NHibernate.String; } } --- 263,270 ---- if ( discrim.Type==null ) { ! discrim.Type = NHibernateUtil.String; foreach(Column col in discrim.ColumnCollection) { ! col.Type = NHibernateUtil.String; } } *************** *** 535,539 **** foreach(Column col in model.ColumnCollection) { ! col.Type = NHibernate.Int32; col.TypeIndex = 0; break; --- 535,539 ---- foreach(Column col in model.ColumnCollection) { ! col.Type = NHibernateUtil.Int32; col.TypeIndex = 0; break; *************** *** 609,613 **** try { ! model.Type = (EntityType) NHibernate.Entity( ReflectHelper.ClassForName( node.Attributes["class"].Value) ); } --- 609,613 ---- try { ! model.Type = (EntityType) NHibernateUtil.Entity( ReflectHelper.ClassForName( node.Attributes["class"].Value) ); } |