0
NHibernate에서 매핑하는 동안 어떻게 여러 개의 기본 키를 할당합니까?Nhibernate에 여러 개의 기본 키가 있습니까?
CompositeId()
.KeyProperty(x => x.TopicId, "name")
.KeyReference(x => x.Topic, "anotherName");
NHibernate에서 매핑하는 동안 어떻게 여러 개의 기본 키를 할당합니까?Nhibernate에 여러 개의 기본 키가 있습니까?
CompositeId()
.KeyProperty(x => x.TopicId, "name")
.KeyReference(x => x.Topic, "anotherName");
는 주제 객체가 아닌 ID가 없습니다 :
– ChrisAnnODell복합 키를 의미합니까, 아니면 "~이"제안하는 것처럼 대체 키입니까? –