Re: AdoNetAppender problem.

2007-01-08 Thread bolikdimon
I found better way of doing this: Here is my config file: It works ! Stephen Murtagh wrote: > > I had a similar problem about a year back, ended up subclassing > AdoNetAppenderParameter and overriding the FormatValue method as below

Re: AdoNetAppender problem.

2007-01-08 Thread bolikdimon
Thank you so much, but how can I set the type of the parameter ? Here is my cofig file: Where should I add MyAdoNetAppenderParameter ? Stephen Murtagh wrote: > > I had a similar problem about a year back, ended up subclassing > AdoNetAppenderParamet

Re: AdoNetAppender problem.

2007-01-08 Thread Stephen Murtagh
I had a similar problem about a year back, ended up subclassing AdoNetAppenderParameter and overriding the FormatValue method as below: public class MyAdoNetAppenderParameter : AdoNetAppenderParameter { /// /// Custom version of FormatValue method which also converts NullText value (null)

AdoNetAppender problem.

2007-01-08 Thread bolikdimon
Hello. Help me please. I'm using AdoNetAppender. How can I pass NULL value into stored procedure ? Here is my code: ... ThreadContext.Properties["ProcessID"] = DbNull.Value; log.Debug(message); Config-file: What's wro