Namespaces

Types

Type LogicalExpression

Namespace NHibernate.Expression

Parent AbstractCriterion

Methods

Public instance methods

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

TypedValue[] GetTypedValues(ICriteria criteria, ICriteriaQuery criteriaQuery)

Combines the TypedValue for the Left Hand Side and the Right Hand Side of the Expression into one array.
Parameters
return TypedValue[] An arry of TypedValue s.
ICriteria criteria
ICriteriaQuery criteriaQuery

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

Converts the LogicalExpression to a SqlString .
The SqlString will be enclosed by ( and ) .
Parameters
return SqlString A well formed SqlString for the Where clause.
ICriteria criteria
ICriteriaQuery criteriaQuery
IDictionary enabledFilters

string ToString()

Gets a string representation of the LogicalExpression.
This is not a well formed Sql fragment. It is useful for logging what Expressions are being combined.
Parameters
return string The String contains the LeftHandSide.ToString() and the RightHandSide.ToString() joined by the Op.