Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21269
Modified Files:
Immutable.hbm.xml NHibernate.DomainModel-1.1.csproj
Added Files:
Immutable.cs
Log Message:
Added class Immutable to help with Cache testing.
--- NEW FILE: Immutable.cs ---
using System;
namespace NHibernate.DomainModel
{
/// <summary>
/// Summary description for Immutable.
/// </summary>
public class Immutable
{
private string foo;
private string bar;
private string id;
public string Foo
{
get { return foo; }
set { foo = value; }
}
public string Bar
{
get { return bar; }
set { bar = value; }
}
public string Id
{
get { return id; }
set { id = value; }
}
}
}
Index: Immutable.hbm.xml
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Immutable.hbm.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Immutable.hbm.xml 6 Apr 2004 13:36:18 -0000 1.2
--- Immutable.hbm.xml 11 May 2004 19:44:58 -0000 1.3
***************
*** 1,11 ****
<?xml version="1.0" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
! <class name="net.sf.hibernate.test.Immutable" table="immut" mutable="false">
<jcs-cache usage="read-only" />
! <id name="id" column="id_" length="64">
<generator class="uuid.hex" />
</id>
! <property name="foo" />
! <property name="bar" />
</class>
</hibernate-mapping>
\ No newline at end of file
--- 1,11 ----
<?xml version="1.0" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
! <class name="NHibernate.DomainModel.Immutable, NHibernate.DomainModel" table="immut" mutable="false">
<jcs-cache usage="read-only" />
! <id name="Id" column="id_" length="64">
<generator class="uuid.hex" />
</id>
! <property name="Foo" />
! <property name="Bar" />
</class>
</hibernate-mapping>
\ No newline at end of file
Index: NHibernate.DomainModel-1.1.csproj
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHibernate.DomainModel-1.1.csproj,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** NHibernate.DomainModel-1.1.csproj 29 Apr 2004 15:16:00 -0000 1.10
--- NHibernate.DomainModel-1.1.csproj 11 May 2004 19:44:58 -0000 1.11
***************
*** 291,294 ****
--- 291,299 ----
/>
<File
+ RelPath = "Immutable.cs"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
RelPath = "Immutable.hbm.xml"
BuildAction = "EmbeddedResource"
|