IndexWithPropertyEventData Class

Definition

A DiagnosticSource event payload class for the events involving an invalid property name on an index.

public class IndexWithPropertyEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
type IndexWithPropertyEventData = class
    inherit EventData
Public Class IndexWithPropertyEventData
Inherits EventData
Inheritance
IndexWithPropertyEventData

Remarks

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

Constructors

IndexWithPropertyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IEntityType, String, List<String>, String)

Constructs the event payload for indexes with a invalid property.

Properties

EntityType

The entity type on which the index is defined.

EventId

The EventId that defines the message ID and name.

(Inherited from EventData)
EventIdCode

A string representing the code where this event is defined.

(Inherited from EventData)
LogLevel

The LogLevel that would be used to log message for this event.

(Inherited from EventData)
Name

The name of the index.

PropertyName

The name of the specific property.

PropertyNames

The list of properties which define the index.

Methods

ToString()

A logger message describing this event.

(Inherited from EventData)

Applies to