Apply an "equal" constraint to projection and property
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static AbstractCriterion EqProperty( IProjection projection, string otherPropertyName ) |
Visual Basic |
---|
Public Shared Function EqProperty ( _ projection As IProjection, _ otherPropertyName As String _ ) As AbstractCriterion |
Visual C++ |
---|
public: static AbstractCriterion^ EqProperty( IProjection^ projection, String^ otherPropertyName ) |
Parameters
- projection
- Type: NHibernate.Criterion..::..IProjection
The projection.
- otherPropertyName
- Type: System..::..String
The rhs Property Name