Table of Contents

Class TwoSqlExpressionsEventData

Namespace
Microsoft.EntityFrameworkCore.Diagnostics
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

The DiagnosticSource event payload base class for events that references two SqlExpression.

public class TwoSqlExpressionsEventData : EventData
Inheritance
TwoSqlExpressionsEventData

Remarks

See Logging, events, and diagnostics for more information and examples.

Constructors

TwoSqlExpressionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, string>, SqlExpression, SqlExpression)

Constructs the event payload.

public TwoSqlExpressionsEventData(EventDefinitionBase eventDefinition, Func<EventDefinitionBase, EventData, string> messageGenerator, SqlExpression left, SqlExpression right)

Parameters

eventDefinition EventDefinitionBase

The event definition.

messageGenerator Func<EventDefinitionBase, EventData, string>

A delegate that generates a log message for this event.

left SqlExpression

The left SqlExpression.

right SqlExpression

The right SqlExpression.

Properties

Left

The left SqlExpression.

public virtual SqlExpression Left { get; }

Property Value

SqlExpression

Right

The right SqlExpression.

public virtual SqlExpression Right { get; }

Property Value

SqlExpression