Initialize a new instance of the OrExpression class for
two ICriterions.
Namespace:
NHibernate.ExpressionAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ lhs As ICriterion, _ rhs As ICriterion _ ) |
C# |
---|
public OrExpression( ICriterion lhs, ICriterion rhs ) |
Visual C++ |
---|
public: OrExpression( ICriterion^ lhs, ICriterion^ rhs ) |
JavaScript |
---|
NHibernate.Expression.OrExpression = function(lhs, rhs); |
Parameters
- lhs
- Type: NHibernate.Expression..::.ICriterion
The ICriterion to use as the left hand side.
- rhs
- Type: NHibernate.Expression..::.ICriterion
The ICriterion to use as the right hand side.