I\'m trying to map a simple data structure in nhibernate
Tables:
Employees employeeID int username varchar(30) departmentID int Departm
You need to use the KeyColumn method on the HasMany declaration, as explained in the documentation
KeyColumn