Here is the mapping file :
Code:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0" assembly="eProSayman.Dao" namespace="eProSayman.Domain">
<class name="DemirbasSayimBilgisi" table="T_DEMIRBAS_SAYIM_BILGISI">
<id name="Id" column="ID" type="Int64" unsaved-value="0">
<generator class="native"/>
</id>
<property column="IsActive" type="Boolean" name="IsActive" length="1" />
<many-to-one name="Demirbas" class="Demirbas"/>
<component name="EldekiMiktar" insert="true" update="true" class="Miktar" >
<property name="Eder" type="float" update="true" insert="true" />
<many-to-one name="OlcuBirimi" class="OlcuBirimi"/>
</component>
<component name="KullanimMiktari" insert="true" update="true" class="Miktar">
<property name="Eder" type="float" update="true" insert="true" />
<many-to-one name="OlcuBirimi" class="OlcuBirimi"/>
</component>
<component name="DepodakiMiktar" insert="true" update="true" class="Miktar">
<property name="Eder" type="float" update="true" insert="true" />
<many-to-one name="OlcuBirimi" class="OlcuBirimi"/>
</component>
<component name="SayimMiktari" insert="true" update="true" class="Miktar">
<property name="Eder" type="float" update="true" insert="true" />
<many-to-one name="OlcuBirimi" class="OlcuBirimi"/>
</component>
<component name="EksikMiktar" insert="true" update="true" class="Miktar">
<property name="Eder" type="float" update="true" insert="true" />
<many-to-one name="OlcuBirimi" class="OlcuBirimi"/>
</component>
<component name="FazlaMiktar" insert="true" update="true" class="Miktar">
<property name="Eder" type="float" update="true" insert="true" />
<many-to-one name="OlcuBirimi" class="OlcuBirimi"/>
</component>
<component name="ToplamFiyat" insert="true" update="true" class="Fiyat">
<property name="Tutar" type="double" update="true" insert="true" />
<many-to-one name="ParaBirimi" class="ParaBirimi"/>
</component>
</class>
</hibernate-mapping>
i cannot understand the reason