.net ORM对复合主键的支持
我已经读过,复合主键会。哪些ORM最适合复合PKs,哪些应该避免?(我对.NET特别感兴趣)我成功地将NHibernate与复合键结合使用.net ORM对复合主键的支持,.net,sql,orm,primary-key,compound-key,.net,Sql,Orm,Primary Key,Compound Key,我已经读过,复合主键会。哪些ORM最适合复合PKs,哪些应该避免?(我对.NET特别感兴趣)我成功地将NHibernate与复合键结合使用 <class name="UserProfileField" table="UserProfileFields"> <composite-id> <key-many-to-one name="Parent" column="UserId" lazy="false"/> <key
<class name="UserProfileField" table="UserProfileFields">
<composite-id>
<key-many-to-one name="Parent" column="UserId" lazy="false"/>
<key-property name="FieldName"/>
</composite-id>
...
...