[Springnet-commits] Spring.Net/doc/reference/src ado.xml, 1.18, 1.19
Brought to you by:
aseovic,
markpollack
From: Mark P. <mar...@us...> - 2007-10-30 16:38:12
|
Update of /cvsroot/springnet/Spring.Net/doc/reference/src In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv4801 Modified Files: ado.xml Log Message: add docs on adotemplate properties Index: ado.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/ado.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** ado.xml 11 Oct 2007 06:02:13 -0000 1.18 --- ado.xml 30 Oct 2007 16:38:03 -0000 1.19 *************** *** 864,867 **** --- 864,910 ---- type-safety.</para> </sect2> + + <sect2> + <title>Quick Guide to AdoTemplate Properties</title> + + <para>AdoTemplate has the following properties that you can + configure</para> + + <itemizedlist> + <listitem> + <para><literal>LazyInit</literal> - Indicates if the + IAdoExceptionTranslator should be created on first encounter of an + exception from the data provider or when AdoTemplate is created. + Default is true, i.e. to lazily instantiate.</para> + </listitem> + + <listitem> + <para><literal>ExceptionTranslator</literal> - Gets or sets the + implementation of IAdoExceptionTranslator ot use. If no custom + translator is provided, a default ErrorCodeExceptionTranslator is + used.</para> + </listitem> + + <listitem> + <para><literal>DbProvider</literal> - Gets or sets the IDbProvider + instance to use.</para> + </listitem> + + <listitem> + <para><literal>DataReaderWrapperType</literal> - Gets or set the + System.Type to use to create an instance of IDataReaderWrapper for + the purpose of having defaults values to use in case of DBNull + values read from IDataReader. See the section <link + linkend="ado-dbnull">mapping DbNull values</link> for more + information.</para> + </listitem> + + <listitem> + <para><literal>CommandTimeout</literal> - Gets or sets the command + timeout for IDbCommands that this AdoTemplate executes. Default is + 0, indicating to use the database provider's default.</para> + </listitem> + </itemizedlist> + </sect2> </sect1> *************** *** 1047,1051 **** </sect1> ! <sect1> <title>Mapping DBNull values</title> --- 1090,1094 ---- </sect1> ! <sect1 id="ado-dbnull"> <title>Mapping DBNull values</title> |