Revision: 5034
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=5034&view=rev
Author: fabiomaulo
Date: 2010-07-21 20:47:45 +0000 (Wed, 21 Jul 2010)
Log Message:
-----------
Fix NH-2122
Modified Paths:
--------------
trunk/nhibernate/doc/reference/modules/query_criteria.xml
Modified: trunk/nhibernate/doc/reference/modules/query_criteria.xml
===================================================================
--- trunk/nhibernate/doc/reference/modules/query_criteria.xml 2010-07-21 20:31:40 UTC (rev 5033)
+++ trunk/nhibernate/doc/reference/modules/query_criteria.xml 2010-07-21 20:47:45 UTC (rev 5034)
@@ -131,13 +131,13 @@
Note that the kittens collections held by the <literal>Cat</literal> instances
returned by the previous two queries are <emphasis>not</emphasis> pre-filtered
by the criteria! If you wish to retrieve just the kittens that match the
- criteria, you must use <literal>SetResultTransformer(CriteriaUtil.AliasToEntityMap)</literal>.
+ criteria, you must use <literal>SetResultTransformer(Transformers.AliasToEntityMap)</literal>.
</para>
<programlisting><![CDATA[IList cats = sess.CreateCriteria(typeof(Cat))
.CreateCriteria("Kittens", "kt")
.Add( Expression.Eq("Name", "F%") )
- .SetResultTransformer(CriteriaUtil.AliasToEntityMap)
+ .SetResultTransformer(Transformers.AliasToEntityMap)
.List();
foreach ( IDictionary map in cats )
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|