36 lines
2.3 KiB
XML
36 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
|
<class name="BeWo.Data.Entities.GroupOfPeople,BeWo.Data" table="GroupOfPeople">
|
|
<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="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 name="GroupType" type="BS.Shared.GroupTypeId, BS.Shared" />
|
|
<property name="CreatedByEmployeeOid" />
|
|
<bag name="EmployeeList" table="GroupMember" generic="true" cascade="none" batch-size="250">
|
|
<key column="GroupOfPeopleOid" />
|
|
<many-to-many column="EmployeeOid" class="BeWo.Data.Entities.Employee,BeWo.Data" />
|
|
</bag>
|
|
<bag name="CustomerList" table="GroupMember" generic="true" cascade="none" batch-size="250">
|
|
<key column="GroupOfPeopleOid" />
|
|
<many-to-many column="CustomerOid" class="BeWo.Data.Entities.Customer,BeWo.Data" />
|
|
</bag>
|
|
<bag name="SupportConceptList" table="GroupMember" generic="true" cascade="none" batch-size="250">
|
|
<key column="GroupOfPeopleOid" />
|
|
<many-to-many column="SupportConceptOid" class="BeWo.Data.Entities.SupportConcept,BeWo.Data" />
|
|
</bag>
|
|
<bag name="CostBearer2SupportConceptList" table="GroupMember" generic="true" cascade="none" fetch="join">
|
|
<key column="GroupOfPeopleOid" />
|
|
<many-to-many column="CostBearer2SupportConceptOid" class="BeWo.Data.Entities.CostBearer2SupportConcept,BeWo.Data" />
|
|
</bag>
|
|
</class>
|
|
</hibernate-mapping> |