Initialize a new instance of the SimpleExpression class for a named
Property and its value.
Namespace:
NHibernate.ExpressionAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ propertyName As String, _ value As Object _ ) |
C# |
---|
public SimpleExpression( string propertyName, Object value ) |
Visual C++ |
---|
public: SimpleExpression( String^ propertyName, Object^ value ) |
JavaScript |
---|
NHibernate.Expression.SimpleExpression = function(propertyName, value); |
Parameters
- propertyName
- Type: System..::.String
The name of the Property in the class.
- value
- Type: System..::.Object
The value for the Property.