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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework