Partilhar via


ForeignKeyCandidateEventData Construtores

Definição

Sobrecargas

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

Constrói o conteúdo do evento.

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

Constrói o conteúdo do evento.

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

Origem:
ForeignKeyCandidateEventData.cs

Constrói o conteúdo do 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))

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.

dependentToPrincipalNavigationSpecification
String

O nome da propriedade de navegação ou do tipo de entidade no final dependente da relação.

principalToDependentNavigationSpecification
String

O nome da propriedade de navegação ou do tipo de entidade na extremidade principal da relação.

firstPropertyCollection
IReadOnlyList<IPropertyBase>

A primeira coleção de propriedades.

secondPropertyCollection
IReadOnlyList<IPropertyBase>

A segunda coleção de propriedades.

Aplica-se a

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

Origem:
ForeignKeyCandidateEventData.cs
Origem:
ForeignKeyCandidateEventData.cs
Origem:
ForeignKeyCandidateEventData.cs
Origem:
ForeignKeyCandidateEventData.cs

Constrói o conteúdo do 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))

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.

dependentToPrincipalNavigationSpecification
String

O nome da propriedade de navegação ou do tipo de entidade no final dependente da relação.

principalToDependentNavigationSpecification
String

O nome da propriedade de navegação ou do tipo de entidade na extremidade principal da relação.

firstPropertyCollection
IReadOnlyList<IReadOnlyPropertyBase>

A primeira coleção de propriedades.

secondPropertyCollection
IReadOnlyList<IReadOnlyPropertyBase>

A segunda coleção de propriedades.

Aplica-se a