ForeignKeyCandidateEventData Costruttori

Definizione

Overload

ForeignKeyCandidateEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, String, String, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)

Costruisce il payload dell'evento.

ForeignKeyCandidateEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, String, String, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)

Costruisce il payload dell'evento.

ForeignKeyCandidateEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, String, String, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)

Costruisce il payload dell'evento.

public ForeignKeyCandidateEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, string dependentToPrincipalNavigationSpecification, string principalToDependentNavigationSpecification, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> firstPropertyCollection, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> secondPropertyCollection);
new Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyCandidateEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> -> Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyCandidateEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), dependentToPrincipalNavigationSpecification As String, principalToDependentNavigationSpecification As String, firstPropertyCollection As IReadOnlyList(Of IPropertyBase), secondPropertyCollection As IReadOnlyList(Of IPropertyBase))

Parametri

eventDefinition
EventDefinitionBase

Definizione dell'evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegato che genera un messaggio di log per questo evento.

dependentToPrincipalNavigationSpecification
String

Nome della proprietà di spostamento o del tipo di entità sulla fine dipendente della relazione.

principalToDependentNavigationSpecification
String

Nome della proprietà di spostamento o del tipo di entità sulla fine principale della relazione.

firstPropertyCollection
IReadOnlyList<IPropertyBase>

Prima raccolta di proprietà.

secondPropertyCollection
IReadOnlyList<IPropertyBase>

Seconda raccolta di proprietà.

Si applica a

ForeignKeyCandidateEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, String, String, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)

Costruisce il payload dell'evento.

public ForeignKeyCandidateEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, string dependentToPrincipalNavigationSpecification, string principalToDependentNavigationSpecification, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> firstPropertyCollection, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> secondPropertyCollection);
new Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyCandidateEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> -> Microsoft.EntityFrameworkCore.Diagnostics.ForeignKeyCandidateEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), dependentToPrincipalNavigationSpecification As String, principalToDependentNavigationSpecification As String, firstPropertyCollection As IReadOnlyList(Of IReadOnlyPropertyBase), secondPropertyCollection As IReadOnlyList(Of IReadOnlyPropertyBase))

Parametri

eventDefinition
EventDefinitionBase

Definizione dell'evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegato che genera un messaggio di log per questo evento.

dependentToPrincipalNavigationSpecification
String

Nome della proprietà di spostamento o del tipo di entità sulla fine dipendente della relazione.

principalToDependentNavigationSpecification
String

Nome della proprietà di spostamento o del tipo di entità sulla fine principale della relazione.

firstPropertyCollection
IReadOnlyList<IReadOnlyPropertyBase>

Prima raccolta di proprietà.

secondPropertyCollection
IReadOnlyList<IReadOnlyPropertyBase>

Seconda raccolta di proprietà.

Si applica a