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