Namespaces

Types

Type Example

Namespace NHibernate.Expression

Parent AbstractCriterion

Methods

Public instance methods

Example EnableLike(MatchMode matchMode)

Use the "like" operator for all string-valued properties with the specified MatchMode .
Parameters
return Example
MatchMode matchMode The MatchMode to convert the string to the pattern for the like comparison.

Example EnableLike()

Use the "like" operator for all string-valued properties.
The default MatchMode is Exact .
Parameters
return Example

bool Equals(object obj)

Parameters
return bool
object obj

Example ExcludeNone()

Set the IPropertySelector for this Example to exclude no properties.
Parameters
return Example

Example ExcludeNulls()

Parameters
return Example

Example ExcludeProperty(string name)

Exclude a particular named property
Parameters
return Example
string name The name of the property to exclude.

Example ExcludeZeroes()

Set the IPropertySelector for this Example to exclude zero-valued properties.
Parameters
return Example

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

TypedValue[] GetTypedValues(ICriteria criteria, ICriteriaQuery criteriaQuery)

Parameters
return TypedValue[]
ICriteria criteria
ICriteriaQuery criteriaQuery

Example IgnoreCase()

Parameters
return Example

Example SetPropertySelector(IPropertySelector selector)

Parameters
return Example
IPropertySelector selector

SqlString ToSqlString(ICriteria criteria, ICriteriaQuery criteriaQuery, IDictionary enabledFilters)

Parameters
return SqlString
ICriteria criteria
ICriteriaQuery criteriaQuery
IDictionary enabledFilters

string ToString()

Parameters
return string

Public static methods

Example Create(object entity)

Create a new instance, which includes all non-null properties by default
Parameters
return Example A new instance of Example .
object entity