Author: bodewig
Date: Mon Nov 7 16:16:41 2011
New Revision: 1198796
URL: http://svn.apache.org/viewvc?rev=1198796&view=rev
Log:
Use -1 as size when using VARCHAR(max) and friends. LOG4NET-202
Modified:
logging/log4net/trunk/src/Appender/AdoNetAppender.cs
Modified: logging/log4net/trunk/src/Appender/AdoNetAppender.cs
URL:
http://svn.apache.org/viewvc/logging/log4net/trunk/src/Appender/AdoNetAppender.cs?rev=1198796&r1=1198795&r2=1198796&view=diff
==============================================================================
--- logging/log4net/trunk/src/Appender/AdoNetAppender.cs (original)
+++ logging/log4net/trunk/src/Appender/AdoNetAppender.cs Mon Nov 7 16:16:41
2011
@@ -1102,6 +1102,9 @@ namespace log4net.Appender
/// This property is optional. If not specified the ADO.NET
provider
/// will attempt to infer the size from the value.
/// </para>
+ /// <para>
+ /// For BLOB data types like VARCHAR(max) it may be impossible to
infer the value automatically, use -1 as the size in this case.
+ /// </para>
/// </remarks>
/// <seealso cref="IDbDataParameter.Size" />
public int Size