From cdd2564beb7c37fcfe813fdf2b3329236e7e8522 Mon Sep 17 00:00:00 2001 From: Marijn van der Zee Date: Thu, 13 Oct 2011 16:39:10 +0200 Subject: [PATCH 1/2] Remove the errant paragraph and code listing The errant paragraph is removed, as well as the code listing. From the text it appears that an example should have been inserted here; that's commented out and replaced with a TODO note. --- doc/reference/src/ado.xml | 45 +++++++-------------------------------- 1 file changed, 8 insertions(+), 37 deletions(-) diff --git a/doc/reference/src/ado.xml b/doc/reference/src/ado.xml index dd1fa659..52753d46 100644 --- a/doc/reference/src/ado.xml +++ b/doc/reference/src/ado.xml @@ -2052,50 +2052,21 @@ public static void ApplyConnectionAndTx(object typedDataSetAdapter, IDbProvider MappingadoQueryWithParameters (See SDK docs for details). - The AdoNonQuery class encapsulates an - IDbCommand 's ExecuteNonQuery method functionality. Like the - AdoQuery object, an AdoNonQuery - object is reusable, and like all AdoOperation - classes, an AdoNonQuery can have parameters and is - defined in SQL. This class provides two execute methods - - - - IDictionary ExecuteNonQuery(params object[] - inParameterValues) - - - - IDictionary ExecuteNonQueryByNamedParam(IDictionary - inParams) - - - - This class is concrete. Although it can be subclassed (for example - to add a custom update method) it can easily be parameterized by setting - SQL and declaring parameters. + + From d4f67530c45ff95d8a7ff755f379714c51c748e2 Mon Sep 17 00:00:00 2001 From: Marijn van der Zee Date: Tue, 18 Oct 2011 17:10:11 +0200 Subject: [PATCH 2/2] Fix typo. --- doc/reference/src/ado.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference/src/ado.xml b/doc/reference/src/ado.xml index d08313ba..f9959399 100644 --- a/doc/reference/src/ado.xml +++ b/doc/reference/src/ado.xml @@ -2047,7 +2047,7 @@ public static void ApplyConnectionAndTx(object typedDataSetAdapter, IDbProvider AdoQuery class is rarely used directly since the MappingAdoQuery subclass provides a much more convenient implementation for mapping rows to .NET classes. Another - implementations that extends AdoQuery is + implementation that extends AdoQuery is MappingadoQueryWithParameters (See SDK docs for details).