DatabaseLogFormatter.Stopwatch Property
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.
Caution
This stopwatch can give incorrect times. Use 'GetStopwatch' instead.
This property is obsolete. Using it can result in logging incorrect execution times. Call GetStopwatch(DbCommandInterceptionContext) instead.
[System.Obsolete("This stopwatch can give incorrect times. Use 'GetStopwatch' instead.")]
protected internal System.Diagnostics.Stopwatch Stopwatch { get; }
member this.Stopwatch : System.Diagnostics.Stopwatch
Protected Friend ReadOnly Property Stopwatch As Stopwatch
Property Value
- Attributes
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