Partilhar via


ForeignKeyEventData Construtores

Definição

Sobrecargas

ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IForeignKey)

Constrói o conteúdo do evento.

ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlyForeignKey)

Constrói o conteúdo do evento.

ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IForeignKey)

Origem:
ForeignKeyEventData.cs
Origem:
ForeignKeyEventData.cs
Origem:
ForeignKeyEventData.cs
Origem:
ForeignKeyEventData.cs
Origem:
ForeignKeyEventData.cs

Constrói o conteúdo do evento.

public ForeignKeyEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
new Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), foreignKey As IForeignKey)

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.

foreignKey
IForeignKey

A chave estrangeira.

Aplica-se a

ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlyForeignKey)

Origem:
ForeignKeyEventData.cs
Origem:
ForeignKeyEventData.cs
Origem:
ForeignKeyEventData.cs
Origem:
ForeignKeyEventData.cs

Constrói o conteúdo do evento.

public ForeignKeyEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
new Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), foreignKey As IReadOnlyForeignKey)

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.

foreignKey
IReadOnlyForeignKey

A chave estrangeira.

Aplica-se a