I have complex domain model with >20 tables. The requirement is to build a search criteria screen where user can select the fields, enter the criteria on any of the tables. i am pretty much able to get this working using the Criteria API in NHibernate. But the users wish to save the search criteria in the database so that they dont have to re-enter the search criteria again and again.
I am unable to figure out a way by which the search criteria can be persisted in the database. Any suggestions or pointers to a feasible solution will be of great help.