Table of Contents

Class N1QueryDetectedEvent

Namespace
CL.MySQL2.Events
Assembly
CL.MySQL2.dll

Published when the N+1 detector observes the same query template firing many times within a single request scope. Fires once per scope per offending template.

public record N1QueryDetectedEvent : IEvent, IEquatable<N1QueryDetectedEvent>
Inheritance
N1QueryDetectedEvent
Implements
IEvent
Inherited Members

Constructors

N1QueryDetectedEvent(string, string, int, DateTime)

Published when the N+1 detector observes the same query template firing many times within a single request scope. Fires once per scope per offending template.

public N1QueryDetectedEvent(string ConnectionId, string QueryTemplate, int Count, DateTime At)

Parameters

ConnectionId string
QueryTemplate string
Count int
At DateTime

Properties

At

public DateTime At { get; init; }

Property Value

DateTime

ConnectionId

public string ConnectionId { get; init; }

Property Value

string

Count

public int Count { get; init; }

Property Value

int

QueryTemplate

public string QueryTemplate { get; init; }

Property Value

string