point in time update of NHibernate Asset Mapping code

This commit is contained in:
Sean Dague
2008-04-03 12:29:25 +00:00
parent 2d33bf854f
commit fe14d65f07
3 changed files with 180 additions and 10 deletions

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="OpenSim.Framework.AssetBase, OpenSim.Framework" table="Assets">
<id name="ID" column="UUID" type="String" length="36" >
<generator class="assigned" />
</id>
<property name="Type" type="integer" />
<property name="InvType" type="integer" />
<property name="Name" type="String" length="50" />
<property name="Description" type="String" length="50" />
<property name="Local" type="boolean" />
<property name="Temporary" type="boolean" />
<property name="Data" type="binary" />
</class>
</hibernate-mapping>