You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2007/01/21 10:58:16 UTC
svn commit: r498261 - in /ibatis/trunk/cs/docs/dataMapperGuide/src/en:
dotnet.xml introduction.xml working.xml
Author: gbayon
Date: Sun Jan 21 01:58:16 2007
New Revision: 498261
URL: http://svn.apache.org/viewvc?view=rev&rev=498261
Log:
- doc : set QueryForPaginatedList as Obsolete
- doc : support for IDictionary<K, V> QueryForDictionary<K, V>(...)
Modified:
ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml
ibatis/trunk/cs/docs/dataMapperGuide/src/en/introduction.xml
ibatis/trunk/cs/docs/dataMapperGuide/src/en/working.xml
Modified: ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml?view=diff&rev=498261&r1=498260&r2=498261
==============================================================================
--- ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml (original)
+++ ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml Sun Jan 21 01:58:16 2007
@@ -1642,13 +1642,18 @@
public IList<T> QueryWithRowDelegate<T>(string statementName, object parameterObject,
SqlMapper.RowDelegate<T> rowDelegate);
+<emphasis role="comment">[Obsolete]</emphasis>
public PaginatedList QueryForPaginatedList(String statementName, object parameterObject,
int pageSize);
public IDictionary QueryForDictionary(string statementName, object parameterObject,
string keyProperty)
+IDictionary<K, V> QueryForDictionary<K, V>(string statementName, object parameterObject,
+ string keyProperty);
public IDictionary QueryForDictionary(string statementName, object parameterObject,
string keyProperty, string valueProperty)
+public IDictionary<K, V> QueryForDictionary<K, V>(string statementName, object parameterObject,
+ string keyProperty, string valueProperty);
public IDictionary QueryForMap(string statementName, object parameterObject, string keyProperty)
public IDictionary QueryForMap(string statementName, object parameterObject,
string keyProperty, string valueProperty)
@@ -1759,9 +1764,13 @@
to return, as the <parameter>skipResults</parameter> and
<parameter>maxResults</parameter> parameters. The
<methodname>PaginatedList</methodname> method provides the same
- functionality but in a more convenient wrapper. The
+ functionality but in a more convenient wrapper.
+ </para>
+
+ <para>The
<methodname>QueryWithRowDelegate</methodname> method also works with
multiple rows, but provides a post-processing feature.</para>
+
</sect3>
<sect3>
@@ -1831,6 +1840,10 @@
<sect3>
<title>QueryForPaginatedList</title>
+<para></para>
+ <note>
+ The method <emphasis role="comment">PaginatedList</emphasis> has been made as obsolete and will not be supported in future version.
+ </note>
<para><programlisting>public PaginatedList QueryForPaginatedList(string statementName,
object parameterObject,
@@ -1881,10 +1894,18 @@
<para><programlisting>public IDictionary QueryForDictionary(string statementName,
object parameterObject,
string keyProperty)
+public IDictionary<K, V> QueryForDictionary<K, V>(string statementName,
+ object parameterObject,
+ string keyProperty);
public IDictionary QueryForDictionary(string statementName,
object parameterObject,
string keyProperty,
string valueProperty)
+public IDictionary<K, V> QueryForDictionary<K, V>(string statementName,
+ object parameterObject,
+ string keyProperty,
+ string valueProperty);
+
public IDictionary QueryForMap(string statementName,
object parameterObject,
string keyProperty)
Modified: ibatis/trunk/cs/docs/dataMapperGuide/src/en/introduction.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/docs/dataMapperGuide/src/en/introduction.xml?view=diff&rev=498261&r1=498260&r2=498261
==============================================================================
--- ibatis/trunk/cs/docs/dataMapperGuide/src/en/introduction.xml (original)
+++ ibatis/trunk/cs/docs/dataMapperGuide/src/en/introduction.xml Sun Jan 21 01:58:16 2007
@@ -56,6 +56,15 @@
<listitem>
Added lazy load support for single class
</listitem>
+ <listitem>
+ Added support for IDictionary<K, V> QueryForDictionary<K, V>(...)
+ </listitem>
+ <listitem>
+ Marked QueryForPaginatedList as obsolete
+ </listitem>
+ <listitem>
+ Allowed procedure statement without parameterMap
+ </listitem>
</itemizedlist>
</sidebar>
</sect1>
Modified: ibatis/trunk/cs/docs/dataMapperGuide/src/en/working.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/docs/dataMapperGuide/src/en/working.xml?view=diff&rev=498261&r1=498260&r2=498261
==============================================================================
--- ibatis/trunk/cs/docs/dataMapperGuide/src/en/working.xml (original)
+++ ibatis/trunk/cs/docs/dataMapperGuide/src/en/working.xml Sun Jan 21 01:58:16 2007
@@ -399,6 +399,7 @@
parameter direction, size, precision, and scale are usually
auto-discovered by the framework (via the CommandBuilder) depending
on your provider.</para>
+ <para>If your stored procedure have no parmeters, the parameterMap attribute on the procedure tag is optionnal.</para>
</note></para>
</sect2>