Click here to Skip to main content
15,512,456 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, i am new to fluent nhibernate. I want to do mappings of one to many relationship. if i have two tables employee and department having relationship between them as 1 department has many employees. Employees has id, name, sal , departmentid(foreign key) and department table has departmentid, name fields. Now i want to add department object into my database so that it will also add details into employees table. Fluent nhibernate experts please help.
Updated 9-Aug-13 18:30pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900