Adds the specified detached criteria, and associates it with the given key. The result will be contained in a List<(Of <(<'T>)>)>
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IMultiCriteria Add<T>( string key, DetachedCriteria detachedCriteria ) |
Visual Basic |
---|
Function Add(Of T) ( _ key As String, _ detachedCriteria As DetachedCriteria _ ) As IMultiCriteria |
Visual C++ |
---|
generic<typename T> IMultiCriteria^ Add( String^ key, DetachedCriteria^ detachedCriteria ) |
Parameters
- key
- Type: System..::..String
The key
- detachedCriteria
- Type: NHibernate.Criterion..::..DetachedCriteria
The detached criteria
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:NHibernate.IMultiCriteria.Add``1(System.String,NHibernate.Criterion.DetachedCriteria)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.IMultiCriteria.Add``1(System.String,NHibernate.Criterion.DetachedCriteria)"]