DbCommandLogData Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
How many milliseconds the command took to execute (if it has completed).
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework