NHibernate Forge
The official new home for the NHibernate for .NET community

Comments: How To Get Help with NHibernate

Wiki Page Hierarchy

Pages

Page Details

First published by:
John Davidson
on 06-12-2010
Last revision by:
John Davidson
on 06-12-2010
This page has not yet been rated
Comments (1)
History (4)

How To Get Help with NHibernate

Sort by: Published Date | Most Recent | Most Useful
By: dnrao Posted on 07-05-2010 6:51

I Have a 2 table like Department and employee, Department is parent and child has employee.

In employee there is one column "isdeleted", this will use when we delete the employee we are not deleting permanatly for this we used this.

My problem was when i retrieve department in the department object the list of employees also will come but i need only "isdeleted" has false value.

How can i do this with session CreateCriteria.

Please help me this.

Powered by Community Server (Commercial Edition), by Telligent Systems