Files
BeWoPlaner/Data/Mappings/BeWoFolder.hbm.xml
2016-06-27 01:45:38 +02:00

29 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.BeWoFolder, BeWo.Data" table="BeWoFolder">
<id name="Oid" column="Oid" type="Int64" unsaved-value="null">
<generator class="identity" />
</id>
<version type="Int64" column="Version" name="Version" />
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
<property column="InsTs" type="DateTime" name="InsTs" />
<property column="InsUser" type="String" name="InsUser" length="256" />
<property column="ObjectTid" type="BS.Shared.TableID, BS.Shared" name="ObjectTid" />
<property column="ObjectOid" type="long" name="ObjectOid" />
<property column="Name" type="String" name="Name" />
<property column="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" name="IsActive" />
<property column="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" name="SystemEntryID" />
<property column="UdpUser" type="String" name="UdpUser" length="256" />
<property column="Notice" type="String" name="Notice" length="1024" />
<property column="ParentBeWoFolderOid" type="long" name="ParentBeWoFolderOid" />
<!--<bag name="SubFolders" table="BeWoFolder" generic="true" cascade="none">
<key column="ParentBeWoFolderOid" />
<one-to-many class="BeWo.Data.Entities.BeWoFolder,BeWo.Data" />
</bag>
<bag name="Files" table="FileAttachment" generic="true" cascade="none">
<key column="BeWoFolderOid" />
<one-to-many class="BeWo.Data.Entities.FileAttachment,BeWo.Data" />
</bag>-->
</class>
</hibernate-mapping>