From: Michael D. <mik...@us...> - 2004-10-23 15:01:59
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20833/NHibernate.DomainModel/NHSpecific Modified Files: BasicClass.cs BasicClass.hbm.xml Log Message: NH-134 Index: BasicClass.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/BasicClass.hbm.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** BasicClass.hbm.xml 1 Sep 2004 00:10:12 -0000 1.5 --- BasicClass.hbm.xml 23 Oct 2004 15:01:19 -0000 1.6 *************** *** 27,30 **** --- 27,32 ---- <property name="YesNoProperty" type="YesNo" column="yn_p" length="1"/> + <property name="PrivateField" column="priv_fld" access="field.camelcase-underscore" /> + <array name="StringArray" table="bc_starr" > <key column="bc_id" /> Index: BasicClass.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/BasicClass.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** BasicClass.cs 2 Sep 2004 15:12:32 -0000 1.5 --- BasicClass.cs 23 Oct 2004 15:01:19 -0000 1.6 *************** *** 28,31 **** --- 28,33 ---- private bool _yesNoProperty; + private int _privateField; + private string[] _stringArray; private int[] _int32Array; *************** *** 137,140 **** --- 139,157 ---- } + /// <summary> + /// + /// </summary> + /// <remarks> + /// NHibernate knows nothing about this Property. This Property + /// is provided so the Test Fixtures can set and get the value of the + /// field <c>_privateField</c> to make sure that NHibernate is reading + /// and writing the field correctly. + /// </remarks> + public int ValueOfPrivateField + { + get { return _privateField; } + set { _privateField = value; } + } + public string[] StringArray { |