<class name='InventoryDetails' dynamic-update='true' dynamic-insert='true' lazy='false' table='InventoryDetails'>
<id column='Id' name='Id' type='Guid' access='nosetter.pascalcase-m-underscore' unsaved-value='00000000-0000-0000-0000-000000000000' >
<generator class='guid'></generator>
</id>
<property name='Type' type='String'></property>
<property name='MaterielId' type='String'></property>
<property name='MaterielDemo' type='String'></property>
<property name='Spaces' type='String'></property>
<property name='Model' type='String'></property>
<property name='Unit' type='String'></property>
<property name='MonthNum' type='Double'></property>
<property name='MonthPrice' type='Double'></property>
<property name='MonthMoney' type='Double'></property>
<property name='MonthInNum' type='Double'></property>
<property name='MonthInPrice' type='Double'></property>
<property name='MonthInMoney' type='Double'></property>
<property name='MonthOutNum' type='Double'></property>
<property name='MonthOutPrice' type='Double'></property>
<property name='MonthOutMoney' type='Double'></property>
<property name='MonthNowNum' type='Double'></property>
<property name='MonthNowPrice' type='Double'></property>
<property name='MonthNowMoney' type='Double'></property>
<property name='NextNewDate' type='String'></property>
</class>
我该如何配置主键那才是正确的?
求高手帮忙,谢谢各位了!