Hello I have just started using Fluent Nhibernate I was wondering how
the mapping would be set up for the following...

I have the following Class
class User
{
     string Id;
     string FirstName;
     string LastName;
     IList<Application>  Applications
}

class Application
{
     string Id;
     string Name;
     IList<Component>  Components;
}
I have a UserTable, UserApplicationLink table, and a Component table
UserTable has 3 columns all strings Id,FirstName,LastName.

UserApplicationLink Table as to columns UserId, ApplcationId

Application Table has 3 columns Id, Name, Description.

Componnent Table has Id, ApplicationId, Name  -   Id,ApplcationId make
up a composite key.

Does anyone know how to setup the mapping to Link User the the
Application

thanks
Rak


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to