根据 nHibernate 分析器,我需要将 inverse="true" 添加到我的映射文件中,但是,我似乎无法找到有关该属性的确切放置位置的示例。谁能根据以下映射文件告诉我我需要在哪里放置 inverse="true"?
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
auto-import="true"
namespace="LROLib.Domain"
assembly="LROLib">
<class name="TestResult" table ="Test_Results" >
<id name="Test_Result_Id" >
<generator class="native" />
</id>
<many-to-one name="Test_Result" class="Result" column="Result_Id" />
<many-to-one name="Test_Applicant" class="Applicant" column="Applicant_Id"/>
<property name="Test_Name" />
<property name="Value" />
<property name="Hi_Lo_Ind" />
<property name="Range" />
<property name="Unit_Of_Measure" />
<property name="Lo_Range" />
<property name="Hi_Range" />
<property name="Create_DateTime" update="false"/>
<property name="Update_DateTime" />
<property name="User_Name" />
</class>
</hibernate-mapping>