Apply an "in" constraint to the named property. This is the generic equivalent
of In(String, ICollection), renamed to avoid ambiguity.
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static AbstractCriterion InG<T>( string propertyName, IEnumerable<T> values ) |
Visual Basic |
---|
Public Shared Function InG(Of T) ( _ propertyName As String, _ values As IEnumerable(Of T) _ ) As AbstractCriterion |
Visual C++ |
---|
public: generic<typename T> static AbstractCriterion^ InG( String^ propertyName, IEnumerable<T>^ values ) |
Parameters
- propertyName
- Type: System..::..String
The name of the Property in the class.
- values
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'T>)>)>
An IEnumerable<(Of <(<'T>)>)> of values.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:NHibernate.Criterion.Restrictions.InG``1(System.String,System.Collections.Generic.IEnumerable{``0})"]