Apply an "in" constraint to the named property. This is the generic equivalent
of In(String, ICollection), renamed to avoid ambiguity.
Namespace:
NHibernate.ExpressionAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function InG(Of T) ( _ propertyName As String, _ values As ICollection(Of T) _ ) As AbstractCriterion |
C# |
---|
public static AbstractCriterion InG<T>( string propertyName, ICollection<T> values ) |
Visual C++ |
---|
public: generic<typename T> static AbstractCriterion^ InG( String^ propertyName, ICollection<T>^ values ) |
JavaScript |
---|
|
Parameters
- propertyName
- Type: System..::.String
The name of the Property in the class.
- values
- Type: System.Collections.Generic..::.ICollection<(Of <(T>)>)
An ICollection<(Of <(T>)>) of values.
Type Parameters
- T