Click or drag to resize

DatabaseParameterInfo Class

Represents a parameter to a Database target.
Inheritance Hierarchy
SystemObject
  NLog.TargetsDatabaseParameterInfo

Namespace:  NLog.Targets
Assembly:  NLog.Database (in NLog.Database.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public class DatabaseParameterInfo

The DatabaseParameterInfo type exposes the following members.

Constructors
  NameDescription
Public methodDatabaseParameterInfo
Initializes a new instance of the DatabaseParameterInfo class.
Public methodDatabaseParameterInfo(String, Layout)
Initializes a new instance of the DatabaseParameterInfo class.
Top
Properties
  NameDescription
Public propertyAllowDbNull
Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values.
Public propertyCulture
Gets or sets the culture used for parsing parameter string-value for type-conversion
Public propertyDbType
Gets or sets the database parameter DbType.
Public propertyDefaultValue
Gets or sets the fallback value when result value is not available
Public propertyFormat
Gets or sets convert format of the database parameter value.
Public propertyLayout
Gets or sets the layout that should be use to calculate the value for the parameter.
Public propertyName
Gets or sets the database parameter name.
Public propertyParameterType
Gets or sets the type of the parameter.
Public propertyPrecision
Gets or sets the database parameter precision.
Public propertyScale
Gets or sets the database parameter scale.
Public propertySize
Gets or sets the database parameter size.
Top
Methods
  NameDescription
Public methodRenderValue
Render Result Value
Top
See Also