|
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="Eucalypto.Wiki.VersionedArticle, Eucalypto" table="WikiVersionedArticle">
<id name="Id" column="Id" type="String" length="32" >
<generator class="uuid.hex">
<param name="format">N</param>
</generator>
</id>
<!-- fetch=join is used to load the object with the same query and without lazy initialization -->
<many-to-one name="Article" fetch="join">
<column name="IdArticle" unique-key="KeyVersionArticle" not-null="true" />
</many-to-one>
<property name="Version" type="Int32">
<column name="Version" unique-key="KeyVersionArticle" not-null="true"/>
</property>
<property name="Title" column="Title" type="String" not-null="true" length="100" />
<property name="Owner" column="Owner" type="String" not-null="true" length="100" />
<property name="UpdateUser" column="UpdateUser" type="String" not-null="true" length="100" />
<property name="Description" column="Description" type="String" length="300" />
<property name="Body" column="Body" type="String" length="1073741823" />
<property name="TOC" column="TOC" type="String" length="1073741823" />
<property name="Author" column="Author" type="String" length="100" />
<property name="OriginalDate" column="OriginalDate" type="DateTime" not-null="true" />
<property name="InsertDate" column="InsertDate" type="DateTime" not-null="true" />
<property name="UpdateDate" column="UpdateDate" type="DateTime" not-null="true" />
<property name="Tag" column="Tag" type="String" length="100" />
</class>
</hibernate-mapping>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.