The ICriteria type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Add |
Add an Expression to constrain the results to be retrieved.
|
![]() | AddOrder |
An an Order to the result set
|
![]() | CreateAlias | Overloaded. |
![]() | CreateCriteria | Overloaded. |
![]() | List | Overloaded. |
![]() | SetCacheable |
Enable caching of this query result set
|
![]() | SetCacheRegion |
Set the name of the cache region.
|
![]() | SetFetchMode |
Specify an association fetching strategy. Currently, only
one-to-many and one-to-one associations are supported.
|
![]() | SetFirstResult |
Set the first result to be retrieved
|
![]() | SetLockMode | Overloaded. |
![]() | SetMaxResults |
Set a limit upon the number of objects to be retrieved
|
![]() | SetProjection |
Used to specify that the query results will be a projection (scalar in
nature). Implicitly specifies the projection result transformer.
|
![]() | SetResultTransformer |
Set a strategy for handling the query results. This determines the
"shape" of the query result set.
|
![]() | SetTimeout |
Set a timeout for the underlying ADO.NET query
|
![]() | UniqueResult | Overloaded. |