Compartilhar via


NavigationPathEventData Construtor

Definição

Constrói o conteúdo do evento.

public NavigationPathEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> navigationPath);
new Microsoft.EntityFrameworkCore.Diagnostics.NavigationPathEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> -> Microsoft.EntityFrameworkCore.Diagnostics.NavigationPathEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), navigationPath As IReadOnlyCollection(Of IPropertyBase))

Parâmetros

eventDefinition
EventDefinitionBase

A definição do evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Um delegado que gera uma mensagem de log para esse evento.

navigationPath
IReadOnlyCollection<IPropertyBase>

A propriedade de navegação.

Aplica-se a