Parameter type used by the AdoNetAppender.
Inheritance Hierarchy
log4net.AppenderAdoNetAppenderParameter
Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The AdoNetAppenderParameter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AdoNetAppenderParameter |
Initializes a new instance of the AdoNetAppenderParameter class.
|
Properties
Name | Description | |
---|---|---|
DbType |
Gets or sets the database type for this parameter.
| |
Layout |
Gets or sets the IRawLayout to use to
render the logging event into an object for this
parameter.
| |
ParameterName |
Gets or sets the name of this parameter.
| |
Precision |
Gets or sets the precision for this parameter.
| |
Scale |
Gets or sets the scale for this parameter.
| |
Size |
Gets or sets the size for this parameter.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
FormatValue |
Renders the logging event and set the parameter value in the command.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Prepare |
Prepare the specified database command object.
| |
ToString | (Inherited from Object.) |
Remarks
This class provides the basic database parameter properties as defined by the IDbDataParameter interface.
This type can be subclassed to provide database specific functionality. The two methods that are called externally are Prepare(IDbCommand) and FormatValue(IDbCommand, LoggingEvent).
See Also