From: Michael D. <mik...@us...> - 2004-08-23 13:11:58
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16001/NHibernate.DomainModel/NHSpecific Modified Files: JoinedSubclass.hbm.xml JoinedSubclassBase.cs SexType.cs SexType.hbm.xml SimpleComponent.cs SimpleComponent.hbm.xml Subclass.hbm.xml Log Message: Modified mapping to test access="nosetter" Index: SimpleComponent.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/SimpleComponent.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SimpleComponent.cs 9 Jun 2004 01:04:35 -0000 1.1 --- SimpleComponent.cs 23 Aug 2004 13:11:45 -0000 1.2 *************** *** 8,12 **** public class SimpleComponent { ! private int _key; private string _name; private string _address; --- 8,12 ---- public class SimpleComponent { ! private int m_Key = 0; private string _name; private string _address; *************** *** 23,28 **** public int Key { ! get {return _key;} ! set {_key = value;} } --- 23,27 ---- public int Key { ! get {return m_Key;} } Index: Subclass.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/Subclass.hbm.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Subclass.hbm.xml 9 Jun 2004 01:04:35 -0000 1.1 --- Subclass.hbm.xml 23 Aug 2004 13:11:45 -0000 1.2 *************** *** 7,12 **** > ! <id name="Id" type="Int32" column="class_id" > ! <generator class="assigned" /> </id> --- 7,12 ---- > ! <id name="Id" type="Int32" column="class_id" access="nosetter.camelcase-underscore"> ! <generator class="native" /> </id> Index: SexType.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/SexType.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SexType.cs 9 Jun 2004 01:04:35 -0000 1.1 --- SexType.cs 23 Aug 2004 13:11:45 -0000 1.2 *************** *** 8,12 **** public class SexType { ! private int _id; private string _typeName; private string _nonpublicString; --- 8,12 ---- public class SexType { ! private int id = 0; private string _typeName; private string _nonpublicString; *************** *** 18,23 **** public int Id { ! get {return _id;} ! set {_id = value;} } --- 18,22 ---- public int Id { ! get {return id;} } Index: JoinedSubclassBase.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/JoinedSubclassBase.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JoinedSubclassBase.cs 9 Jun 2004 01:04:35 -0000 1.1 --- JoinedSubclassBase.cs 23 Aug 2004 13:11:45 -0000 1.2 *************** *** 8,12 **** public class JoinedSubclassBase { ! private int _id; private long _testLong; private string _testString; --- 8,12 ---- public class JoinedSubclassBase { ! private int _id = 0; private long _testLong; private string _testString; *************** *** 17,38 **** } ! public int Id { ! get {return _id;} ! set {_id = value;} } ! public long TestLong { ! get {return _testLong;} ! set {_testLong = value;} } ! public string TestString { ! get {return _testString;} ! set {_testString = value;} } ! public System.DateTime TestDateTime { ! get {return _testDate;} ! set {_testDate = value;} } } --- 17,41 ---- } ! public int Id ! { ! get { return _id; } } ! public long TestLong ! { ! get { return _testLong; } ! set { _testLong = value; } } ! public string TestString ! { ! get { return _testString; } ! set { _testString = value; } } ! public System.DateTime TestDateTime ! { ! get { return _testDate; } ! set { _testDate = value; } } } Index: JoinedSubclass.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/JoinedSubclass.hbm.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** JoinedSubclass.hbm.xml 12 Jul 2004 20:40:33 -0000 1.2 --- JoinedSubclass.hbm.xml 23 Aug 2004 13:11:45 -0000 1.3 *************** *** 5,9 **** table="j_sc" > ! <id name="Id" type="Int32" unsaved-value="0" column="joined_subclass_id" > <generator class="native" /> </id> --- 5,15 ---- table="j_sc" > ! <id ! name="Id" ! type="Int32" ! unsaved-value="0" ! column="joined_subclass_id" ! access="nosetter.camelcase-underscore" ! > <generator class="native" /> </id> Index: SexType.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/SexType.hbm.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SexType.hbm.xml 22 Jun 2004 03:11:02 -0000 1.2 --- SexType.hbm.xml 23 Aug 2004 13:11:45 -0000 1.3 *************** *** 6,10 **** table="s_type" > ! <id name="Id" column="id"> <generator class="native" /> </id> --- 6,10 ---- table="s_type" > ! <id name="Id" column="id" access="nosetter.camelcase"> <generator class="native" /> </id> Index: SimpleComponent.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHSpecific/SimpleComponent.hbm.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SimpleComponent.hbm.xml 9 Jun 2004 01:04:35 -0000 1.1 --- SimpleComponent.hbm.xml 23 Aug 2004 13:11:45 -0000 1.2 *************** *** 5,9 **** table="simp_com" > ! <id name="Key" type="Int64" column="`i[d]_`" > <generator class="assigned" /> </id> --- 5,9 ---- table="simp_com" > ! <id name="Key" type="Int64" column="`i[d]_`" access="nosetter.pascalcase-m-underscore" > <generator class="assigned" /> </id> |