Share via


DbParameterLogData Class

Definition

Logging information about the parameters of a DbCommand that is being executed.

Instances of this class are typically created by Entity Framework and passed to loggers, it is not designed to be directly constructed in your application code.

public class DbParameterLogData
type DbParameterLogData = class
Public Class DbParameterLogData
Inheritance
DbParameterLogData

Constructors

DbParameterLogData(String, Object, Boolean, ParameterDirection, DbType, Boolean, Int32, Byte, Byte)

Initializes a new instance of the DbParameterLogData class.

Properties

DbType

Gets the type of the parameter.

Direction

Gets the direction of the parameter.

HasValue

Gets a value indicating whether the parameter has a value (or is assigned null).

IsNullable

Gets a value indicating whether the parameter type is nullable.

Name

Gets the name of the parameter.

Precision

Gets the precision of the type of the parameter.

Scale

Gets the scale of the type of the parameter.

Size

Gets the size of the type of the parameter.

Value

Gets the value of the parameter.

Applies to