AdoNetAppenderParameter Prepare Method | Apache log4net™ SDK Documentation

Prepare the specified database command object.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public virtual void Prepare(
    	IDbCommand command
    )

    Public Overridable Sub Prepare (
    	command As IDbCommand
    )

    public:
    virtual void Prepare(
    	IDbCommand^ command
    )

    abstract Prepare :
            command : IDbCommand -> unit
    override Prepare :
            command : IDbCommand -> unit

#### Parameters

command
  Type: System.Data
  IDbCommand
  The command to prepare.

Remarks

Prepares the database command object by adding this parameter to its collection of parameters.

See Also

#### Reference

AdoNetAppenderParameter Class
log4net.Appender Namespace