EntityFrameworkMetricsData Class

Definition

Implementation of performance metrics.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

[System.Diagnostics.CodeAnalysis.Experimental("EF9101")]
public static class EntityFrameworkMetricsData
[<System.Diagnostics.CodeAnalysis.Experimental("EF9101")>]
type EntityFrameworkMetricsData = class
Public Class EntityFrameworkMetricsData
Inheritance
EntityFrameworkMetricsData
Attributes

Methods

ReportCompiledQueryCacheHit()

Indicates a hit in the compiled query cache, signifying that query compilation will not need to occur.

ReportCompiledQueryCacheMiss()

Indicates a miss in the compiled query cache, signifying that query compilation will need to occur.

ReportDbContextDisposing()

Indicates that a DbContext instance is being disposed.

ReportDbContextInitializing()

Indicates that a new DbContext instance is being initialized.

ReportExecutionStrategyOperationFailure()

Indicates that an operation executed by an IExecutionStrategy failed (and may be retried).

ReportOptimisticConcurrencyFailure()

Indicates that an optimistic concurrency failure has occurred.

ReportQueryExecuting()

Indicates that a query is about to begin execution.

ReportSavingChanges()

Indicates that changes are about to be saved.

Applies to