Microsoft.Data.SqlClient.Diagnostics.SqlClientCommandBefore
public sealed class SqlClientCommandBefore : IReadOnlyList<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable, IReadOnlyCollection<KeyValuePair<string, object>>
Contains diagnostic information emitted before a command is executed.
Contains diagnostic information emitted before a command is executed.
The command object that is executing.
A nullable guid uniquely identifying the connection that the command is being executed on.
Gets the number of elements in the collection.
Gets the element at the specified index in the read-only list.
The name of the operation.
A guid value used to correlate before, after and error events.
The timestamp of the event.
A nullable long uniquely identifying the transaction that the command enrolled in if it is enrolled in one.
public SqlClientCommandBefore()
Returns an enumerator that iterates through the collection.