Object labeling method when multi-primary key in NHibernate

xiaoxiao2021-03-06  41

The ID can be used in NHibernate, the method is as follows:

Find a process for multi-primary keys on the Hibernate's reference, which is as follows:

.... .. If the table uses the joint primary key, you can combine multiple properties of the class into identifier properties. element accepts the attribute mapping and attribute mapping as sub-elements.

转载请注明原文地址:https://www.9cbs.com/read-74728.html

New Post(0)