 | DatabaseParameterInfo Constructor (String, Layout, ActionIDbDataParameter) |
Namespace:
NLog.Targets
Assembly:
NLog.Database (in NLog.Database.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxpublic DatabaseParameterInfo(
string parameterName,
Layout parameterLayout,
Action<IDbDataParameter> dbTypeSetter
)
Public Sub New (
parameterName As String,
parameterLayout As Layout,
dbTypeSetter As Action(Of IDbDataParameter)
)
Dim parameterName As String
Dim parameterLayout As Layout
Dim dbTypeSetter As Action(Of IDbDataParameter)
Dim instance As New DatabaseParameterInfo(parameterName,
parameterLayout, dbTypeSetter)
new :
parameterName : string *
parameterLayout : Layout *
dbTypeSetter : Action<IDbDataParameter> -> DatabaseParameterInfo
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