[fluent-nhib] Re: Can a Child have a list of Children items?

2009-03-15 Thread Bill
Hi, I hope that SQL helps. Please let me know if there is any other info that I can provide that might help. It's strange that it says that there is no mapping. thanks! Bill On Mar 15, 3:50 pm, Bill wrote: > James, > > Here's the sql for creating the db. Hope this is what you needed - > it's p

[fluent-nhib] Re: Can a Child have a list of Children items?

2009-03-15 Thread Bill
James, Here's the sql for creating the db. Hope this is what you needed - it's pretty big. -- === -- INDEX -- === -- 1. Location -- 2. LocationTimeWindow -- 3. Depot -- 4. Vehicle -- 5. Shipment -- 6. ShipmentTimeWindow -- 7. Shipmen

[fluent-nhib] Re: Can a Child have a list of Children items?

2009-03-15 Thread James Gregory
One last thing, could you post the db schema? Then I've got the full picture :) I guess I'm being a bit slow today because nothing's jumping out as being obviously wrong (apart from your IDs, as you said), so hopefully seeing the schema will make something click. On Sun, Mar 15, 2009 at 7:11 PM, B

[fluent-nhib] Re: Can a Child have a list of Children items?

2009-03-15 Thread Bill
Thanks James! So it sounds like if I set this up correctly that it should work which is great news! I am using normal fluent mappings and like I said, it recognizes the first two entities and then the third on never gets a xml file generated from the mapping file. Here is my mapping file for the t

[fluent-nhib] Re: Can a Child have a list of Children items?

2009-03-15 Thread James Gregory
Ok, well that relationship should work. How are you mapping this? Automapping or normal fluent mappings? Either way, NHibernate isn't getting a mapping for RouteLocationNH. On Sun, Mar 15, 2009 at 6:13 PM, Bill wrote: > > Absolutely! > > Here is my root class - Project > >public class Projec

[fluent-nhib] Re: Can a Child have a list of Children items?

2009-03-15 Thread Bill
Absolutely! Here is my root class - Project public class Project { private IList _lstRouteObj = new List (); public virtual string ProjectID { get; set; } public virtual string UserID { get; set; } public virtual string MachineName { get; set; } p

[fluent-nhib] Re: Can a Child have a list of Children items?

2009-03-15 Thread James Gregory
Could you show me some example classes? I don't want to make suggestions until I know exactly what you're trying to do. On Sun, Mar 15, 2009 at 5:55 PM, Bill wrote: > > Hi, > > I have a entity which has a list of Child1 objects. The mappings seem > to work fine for this. If I try to add a list o