Apply an "in" constraint to the named property
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public static AbstractCriterion In( string propertyName, ICollection values ) |
| Visual Basic |
|---|
Public Shared Function In ( _ propertyName As String, _ values As ICollection _ ) As AbstractCriterion |
| Visual C++ |
|---|
public: static AbstractCriterion^ In( String^ propertyName, ICollection^ values ) |
Parameters
- propertyName
- Type: System..::..String
The name of the Property in the class.
- values
- Type: System.Collections..::..ICollection
An ICollection of values.