Is it possible to view the AdoNetAppenderParameter values when debugging log4net?
If so, how?
Thanks!
In the sourcecode from https://github.com/apache/log4net you will find the file AdoNetAppender.cs:
In the virtual public void Prepare(IDbCommand command) the parameters are assigned:
virtual public void Prepare(IDbCommand command)
IDbDataParameter param = command.CreateParameter(); // Set the parameter properties param.ParameterName = ParameterName; if (!m_inferType) { param.DbType = DbType; } if (Precision != 0) { param.Precision = Precision; } if (Scale != 0) { param.Scale = Scale; } if (Size != 0) { param.Size = Size; } // Add the parameter to the collection of params command.Parameters.Add(param);
When you debug that you can check the parameter-objects.
Copyright © 2021 Jogjafile Inc.
In the sourcecode from https://github.com/apache/log4net you will find the file AdoNetAppender.cs:
In the
virtual public void Prepare(IDbCommand command)the parameters are assigned:When you debug that you can check the parameter-objects.