Apply an "not equal" constraint to two properties
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static AbstractCriterion NotEqProperty( string propertyName, string otherPropertyName ) |
Visual Basic |
---|
Public Shared Function NotEqProperty ( _ propertyName As String, _ otherPropertyName As String _ ) As AbstractCriterion |
Visual C++ |
---|
public: static AbstractCriterion^ NotEqProperty( String^ propertyName, String^ otherPropertyName ) |
Parameters
- propertyName
- Type: System..::..String
The lhs Property Name
- otherPropertyName
- Type: System..::..String
The rhs Property Name