I believe the mapping is correct. I'm trying to use the criteria api to query the db.
-Eric. On Dec 20, 12:25 am, Paul Batum <[email protected]> wrote: > Can you clarify, are you trying to map some domain objects here or are you > trying to use the criteria api to query the db? > > On Sat, Dec 19, 2009 at 8:39 AM, Eric J. Peters <[email protected]> wrote: > > > Okay, this seems to be simple, but I just can't figure it out. > > > I want a criterion that represents all People who own at least 1 Ford, > > and I want the results to return all Cars those people own. > > > People { int Id, IList<Car> Cars } > > Car { int Id, string make, string model } > > > Everything I've tried seems to give me runtime errors. Can somebody > > point me in the right direction? > > > Thanks, > > -Eric. > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Fluent NHibernate" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<fluent-nhibernate%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/fluent-nhibernate?hl=en. -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en.
