From: Michael D. <mik...@us...> - 2004-07-28 03:53:28
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25848/NHibernate.DomainModel Modified Files: MasterDetail.hbm.xml Several.cs Single.cs SingleSeveral.hbm.xml Log Message: Fixed up maps and Properties so Configure() would work. Index: SingleSeveral.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/SingleSeveral.hbm.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SingleSeveral.hbm.xml 3 Jun 2004 18:01:24 -0000 1.1 --- SingleSeveral.hbm.xml 28 Jul 2004 03:53:19 -0000 1.2 *************** *** 61,65 **** <many-to-one ! name="single" > <column --- 61,65 ---- <many-to-one ! name="Single" > <column Index: Single.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Single.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Single.cs 3 Jun 2004 13:31:52 -0000 1.1 --- Single.cs 28 Jul 2004 03:53:19 -0000 1.2 *************** *** 13,17 **** private string _prop; private string _string; ! private IDictionary _several; public string Id --- 13,18 ---- private string _prop; private string _string; ! //<bag> ! private IList _several; public string Id *************** *** 33,37 **** } ! public IDictionary Several { get { return _several; } --- 34,38 ---- } ! public IList Several { get { return _several; } Index: Several.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Several.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Several.cs 3 Jun 2004 13:31:52 -0000 1.1 --- Several.cs 28 Jul 2004 03:53:19 -0000 1.2 *************** *** 12,16 **** private string _id; private string _prop; ! private float _single; private string _string; --- 12,16 ---- private string _id; private string _prop; ! private Single _single; private string _string; *************** *** 27,31 **** } ! public float Single { get { return _single; } --- 27,31 ---- } ! public Single Single { get { return _single; } Index: MasterDetail.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/MasterDetail.hbm.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MasterDetail.hbm.xml 9 Jul 2004 19:22:11 -0000 1.2 --- MasterDetail.hbm.xml 28 Jul 2004 03:53:19 -0000 1.3 *************** *** 16,28 **** <!--TODO: make sure this type has an equiv .net type--> <version ! type="Timestamp" name="stamp" column="ts_" /> ! <property name="name"/> ! <property name="x"/> <!-- length="5" <column name="big_dec" sql-type="DECIMAL(5,3)"/> --> <property name="BigDecimal" --- 16,32 ---- <!--TODO: make sure this type has an equiv .net type--> <version ! name="Stamp" ! type="Timestamp" ! column="ts_" /> ! <property name="Name"/> ! <property name="X"/> <!-- length="5" <column name="big_dec" sql-type="DECIMAL(5,3)"/> --> + <!-- + TODO: Find .net equiv <property name="BigDecimal" *************** *** 30,33 **** --- 34,38 ---- column="big_dec" /> + --> <set |