1 <?xml version="1.0" encoding="utf-8" ?>
\r
2 <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
\r
3 <class name="Castle.Applications.MindDump.Model.Post, Castle.Applications.MindDump" table="post" dynamic-update="true">
\r
4 <id name="Id" column="id" unsaved-value="0">
\r
5 <generator class="native" />
\r
7 <property name="Title" column="title" not-null="true" />
\r
8 <property name="Contents" type="StringClob" column="contents" />
\r
9 <property name="Date" column="date" not-null="true" />
\r
10 <many-to-one name="Blog" column="blog_id" class="Castle.Applications.MindDump.Model.Blog, Castle.Applications.MindDump" />
\r
12 </hibernate-mapping>
\r