Initialize a new instance of the SimpleExpression class for a named Property and its value.

Namespace: NHibernate.Criterion
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public SimpleExpression(
	string propertyName,
	Object value,
	string op
)
Visual Basic
Public Sub New ( _
	propertyName As String, _
	value As Object, _
	op As String _
)
Visual C++
public:
SimpleExpression(
	String^ propertyName, 
	Object^ value, 
	String^ op
)

Parameters

propertyName
Type: System..::..String
The name of the Property in the class.
value
Type: System..::..Object
The value for the Property.
op
Type: System..::..String
The SQL operation.

See Also