Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
複合主キーは典型的な ORM コード ジェネレーターを混乱させると読んだことがあります。どの ORM が複合 PK で最もよく機能し、どれを避けるべきか? (特に .NET に興味があります)
複合キーでNHibernateを正常に使用しています。
<class name="UserProfileField" table="UserProfileFields"> <composite-id> <key-many-to-one name="Parent" column="UserId" lazy="false"/> <key-property name="FieldName"/> </composite-id> ...