Partager via


ForeignKeyEventData Constructeurs

Définition

Surcharges

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

Construit la charge utile de l’événement.

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

Construit la charge utile de l’événement.

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

Source:
ForeignKeyEventData.cs
Source:
ForeignKeyEventData.cs
Source:
ForeignKeyEventData.cs
Source:
ForeignKeyEventData.cs
Source:
ForeignKeyEventData.cs

Construit la charge utile de l’événement.

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)

Paramètres

eventDefinition
EventDefinitionBase

Définition d’événement.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Délégué qui génère un message de journal pour cet événement.

foreignKey
IForeignKey

Clé étrangère.

S’applique à

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

Source:
ForeignKeyEventData.cs
Source:
ForeignKeyEventData.cs
Source:
ForeignKeyEventData.cs
Source:
ForeignKeyEventData.cs

Construit la charge utile de l’événement.

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)

Paramètres

eventDefinition
EventDefinitionBase

Définition d’événement.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Délégué qui génère un message de journal pour cet événement.

foreignKey
IReadOnlyForeignKey

Clé étrangère.

S’applique à