EmployeeTable
-----------------------
EmployeeId
EmployeeName
ManagerId

ManagerClass
-----------------------
// EmployeeId of the manager
int ManagerId { get; set; }

// EmployeeName of the manager
string ManagerName { get; set; }

// EmployeeId of the employee that is attached to this manager
int ChildEmployeeId { get; set; }

A Manager is an Employee, also meaning that a ManagerId is an
EmployeeId.  There is only one manager to one employee and one
employee to one manager.

I have to figure out the NHibernate Fluent class map that can fill the
Manager class above;  Any help on how this would look is greatly
appreciated!!!

Please keep in mind this is a model/table that I've inherited with to
much technical debt to make changes to it (from a time standpoint).

-Jessy Houle

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to