Feature 3 – searching employees

The last feature that we are going to look at is an ability to search employees in the system. I have seen largest number of variations in the implementation of search features across different systems. The variations are in the way it works, the way results are displayed to end user, and also the complexity of the actual search. Let's begin with the most simple search.

Note

The purpose of this section is not to show you how to implement a search functionality. If you have gone through Chapter 6, Let's Retrieve Some Data from the Database, then you know that implementing search feature comes down to building some queries using ISession and utilizing pagination features offered by ISession. The intent of this section ...

Get Learning NHibernate 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.