ForeignKeyEventData Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IForeignKey) |
Costruisce il payload dell'evento. |
ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlyForeignKey) |
Costruisce il payload dell'evento. |
ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IForeignKey)
Costruisce il payload dell'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)
Parametri
- eventDefinition
- EventDefinitionBase
Definizione dell'evento.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Delegato che genera un messaggio di log per questo evento.
- foreignKey
- IForeignKey
Chiave esterna.
Si applica a
ForeignKeyEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlyForeignKey)
Costruisce il payload dell'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)
Parametri
- eventDefinition
- EventDefinitionBase
Definizione dell'evento.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Delegato che genera un messaggio di log per questo evento.
- foreignKey
- IReadOnlyForeignKey
Chiave esterna.