nHibernate 2.0 - mapping a composite-id *and* many-to-one relationship causes “invalid index” error

前端 未结 1 584
青春惊慌失措
青春惊慌失措 2020-12-15 19:01

I have a problem. Imagine this data model:

[Person] table has: PersonId, Name1  
[Tag] table has:  TagId, TagDescription  
[PersonTag] has: PersonId, TagId,         


        
1条回答
  •  情深已故
    2020-12-15 19:38

    Kay, here's the answer. Little-to-no documentation on this:

     
      
      
    
    

    This will allow you to create a composite-id made up of the inverse of a many-to-one relationship.

    Good hunting...

    0 讨论(0)
提交回复
热议问题