Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24821/NHibernate.DomainModel
Modified Files:
Simple.cs Simple.hbm.xml
Log Message:
Removed DecimalProp from NHibernate.DomainModel.Simple class.
Index: Simple.hbm.xml
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Simple.hbm.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Simple.hbm.xml 9 Mar 2004 16:37:01 -0000 1.2
--- Simple.hbm.xml 24 May 2004 05:47:00 -0000 1.3
***************
*** 10,14 ****
<property name="Count" column="count_" not-null="true" unique="true"/>
<property name="Date" column="date_"/>
- <property name="DecimalProp" column="decimal_prop" />
<many-to-one name="Other"/>
</class>
--- 10,13 ----
Index: Simple.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Simple.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Simple.cs 10 Feb 2004 19:12:58 -0000 1.1
--- Simple.cs 24 May 2004 05:47:00 -0000 1.2
***************
*** 1,7 ****
using System;
! namespace NHibernate.DomainModel {
!
! public class Simple {
private long key;
private string name;
--- 1,8 ----
using System;
! namespace NHibernate.DomainModel
! {
! public class Simple
! {
private long key;
private string name;
***************
*** 10,21 ****
private DateTime date;
private Simple other;
- private decimal decimalProp;
! public Simple(int c) {
count=c;
}
public Simple() {}
! public void Init() {
name="Someone with along name";
address="1234 some street, some city, victoria, 3000, austaya";
--- 11,23 ----
private DateTime date;
private Simple other;
! public Simple(int c)
! {
count=c;
}
public Simple() {}
! public void Init()
! {
name="Someone with along name";
address="1234 some street, some city, victoria, 3000, austaya";
***************
*** 30,63 ****
}
! public string Name {
get { return name; }
set { name = value; }
}
! public string Address {
get { return address; }
set { address = value; }
}
! public int Count {
get { return count; }
set { count = value; }
}
! public DateTime Date {
get { return date; }
set { date = value; }
}
! public Simple Other {
get { return other; }
set { other = value; }
}
- public decimal DecimalProp {
- get { return decimalProp;}
- set { decimalProp = value;}
- }
-
}
}
--- 32,65 ----
}
! public string Name
! {
get { return name; }
set { name = value; }
}
! public string Address
! {
get { return address; }
set { address = value; }
}
! public int Count
! {
get { return count; }
set { count = value; }
}
! public DateTime Date
! {
get { return date; }
set { date = value; }
}
! public Simple Other
! {
get { return other; }
set { other = value; }
}
}
}
|