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.