Click or drag to resize

DatabaseParameterInfo Constructor (String, Layout, ActionIDbDataParameter)

Initializes a new instance of the DatabaseParameterInfo class.

Namespace:  NLog.Targets
Assembly:  NLog.Database (in NLog.Database.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntax
public DatabaseParameterInfo(
	string parameterName,
	Layout parameterLayout,
	Action<IDbDataParameter> dbTypeSetter
)

Parameters

parameterName
Type: SystemString
Name of the parameter.
parameterLayout
Type: NLog.LayoutsLayout
The parameter layout.
dbTypeSetter
Type: SystemActionIDbDataParameter
Method-delegate to perform custom initialization database-parameter. Ex. for AOT to assign custom DbType.
See Also