concept criterion in category .net

appears as: criteria, criteria
NHibernate in Action

This is an excerpt from Manning's book NHibernate in Action.

You can easily generate code to load an entity using its identifier (its primary key, in the context of a relational database). But in real-world applications, users rarely deal with identifiers; instead, they use criteria to run a search and then pick the information they want.

Let’s start with simple queries, to become familiar with the HQL syntax and semantics. Although we show the criteria alternative for most HQL queries, keep in mind that HQL is the preferred approach for complex queries. Usually, the criteria can be derived if you know the HQL equivalent; it’s much more difficult the other way around.