Conditionally return the true or false part, dependention on the criterion
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static IProjection Conditional( ICriterion criterion, IProjection whenTrue, IProjection whenFalse ) |
Visual Basic |
---|
Public Shared Function Conditional ( _ criterion As ICriterion, _ whenTrue As IProjection, _ whenFalse As IProjection _ ) As IProjection |
Visual C++ |
---|
public: static IProjection^ Conditional( ICriterion^ criterion, IProjection^ whenTrue, IProjection^ whenFalse ) |
Parameters
- criterion
- Type: NHibernate.Criterion..::..ICriterion
The criterion.
- whenTrue
- Type: NHibernate.Criterion..::..IProjection
The when true.
- whenFalse
- Type: NHibernate.Criterion..::..IProjection
The when false.
Return Value
[Missing <returns> documentation for "M:NHibernate.Criterion.Projections.Conditional(NHibernate.Criterion.ICriterion,NHibernate.Criterion.IProjection,NHibernate.Criterion.IProjection)"]