DbCommandLogData Constructor

Definition

Initializes a new instance of the DbParameterLogData class.

public DbCommandLogData (string commandText, System.Data.CommandType commandType, int commandTimeout, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.DbParameterLogData> parameters, long? elapsedMilliseconds);
new Microsoft.EntityFrameworkCore.Storage.DbCommandLogData : string * System.Data.CommandType * int * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.DbParameterLogData> * Nullable<int64> -> Microsoft.EntityFrameworkCore.Storage.DbCommandLogData
Public Sub New (commandText As String, commandType As CommandType, commandTimeout As Integer, parameters As IReadOnlyList(Of DbParameterLogData), elapsedMilliseconds As Nullable(Of Long))

Parameters

commandText
String

The command text being executed.

commandType
CommandType

The type of command being executed.

commandTimeout
Int32

The timeout configured for the command.

parameters
IReadOnlyList<DbParameterLogData>

Parameters for the command.

elapsedMilliseconds
Nullable<Int64>

How many milliseconds the command took to execute (if it has completed).

Applies to