Hi,

I understand that [OneToOne] is inherited from nHibernate and has to
do with class table inheritence not really OneToOne relationship.
I am stuck at trying to model something similar to this:

Class C1
{
   C2 instance1{ get; set;}

   C2 instance2{get;set;}
}

Say that I want for example a class C1 to have two OneToOne
relationship on another class C2

I would expect the C1 table to look like this:

Table C1:

Id | instance1Id | Instance2Id

with both columns Instance1Id and Instance2id to be foreign keys on
the Id of Post

Can this be done using ActiveRecord?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to