DbParameterLogData Constructor

Definition

Initializes a new instance of the DbParameterLogData class.

public DbParameterLogData (string name, object value, bool hasValue, System.Data.ParameterDirection direction, System.Data.DbType dbType, bool nullable, int size, byte precision, byte scale);
new Microsoft.EntityFrameworkCore.Storage.DbParameterLogData : string * obj * bool * System.Data.ParameterDirection * System.Data.DbType * bool * int * byte * byte -> Microsoft.EntityFrameworkCore.Storage.DbParameterLogData
Public Sub New (name As String, value As Object, hasValue As Boolean, direction As ParameterDirection, dbType As DbType, nullable As Boolean, size As Integer, precision As Byte, scale As Byte)

Parameters

name
String

The name of the parameter.

value
Object

The value of the parameter.

hasValue
Boolean

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

direction
ParameterDirection

The direction of the parameter.

dbType
DbType

The type of the parameter.

nullable
Boolean

A value indicating whether the parameter type is nullable.

size
Int32

The size of the type of the parameter.

precision
Byte

The precision of the type of the parameter.

scale
Byte

The scale of the type of the parameter.

Applies to