22 lines
1001 B
XML
Executable File
22 lines
1001 B
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
XML based configuration file for the Change object. This is set to eager loading as by the time we return
|
|
the data via WCF the session is closed and it causes a crash.
|
|
|
|
@see RSG.Pipeline.Automation.Database.Domain.Entities.Change
|
|
-->
|
|
<hibernate-mapping assembly="RSG.Pipeline.Automation.Database.Domain" namespace="RSG.Pipeline.Automation.Database.Domain.Entities" xmlns="urn:nhibernate-mapping-2.2" >
|
|
<class name="Change" table="Changes" lazy="false">
|
|
<!-- BaseModel Properties -->
|
|
<id name="ID">
|
|
<generator class="assigned" />
|
|
</id>
|
|
|
|
<property name="ChangeTime" lazy="false" precision="6" type="Timestamp">
|
|
<column name="CompletedAt" not-null="false" sql-type="DATETIME(6)"/>
|
|
</property>
|
|
<property name="Property" lazy="false"/>
|
|
<property name="PreviousValue" lazy="false" type="string"/>
|
|
<property name="NewValue" lazy="false" type="string"/>
|
|
</class>
|
|
</hibernate-mapping> |