TwoPropertyBaseCollectionsEventData Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
TwoPropertyBaseCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)
Constrói o conteúdo do evento.
public TwoPropertyBaseCollectionsEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> firstPropertyCollection, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> secondPropertyCollection);
new Microsoft.EntityFrameworkCore.Diagnostics.TwoPropertyBaseCollectionsEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> -> Microsoft.EntityFrameworkCore.Diagnostics.TwoPropertyBaseCollectionsEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), firstPropertyCollection As IReadOnlyList(Of IPropertyBase), secondPropertyCollection As IReadOnlyList(Of IPropertyBase))
Parâmetros
- eventDefinition
- EventDefinitionBase
A definição de evento.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Um delegado que gera uma mensagem de log para esse evento.
- firstPropertyCollection
- IReadOnlyList<IPropertyBase>
A primeira coleção de propriedades.
- secondPropertyCollection
- IReadOnlyList<IPropertyBase>
A segunda coleção de propriedades.
Aplica-se a
TwoPropertyBaseCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)
Constrói o conteúdo do evento.
public TwoPropertyBaseCollectionsEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> firstPropertyCollection, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> secondPropertyCollection);
new Microsoft.EntityFrameworkCore.Diagnostics.TwoPropertyBaseCollectionsEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> -> Microsoft.EntityFrameworkCore.Diagnostics.TwoPropertyBaseCollectionsEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), firstPropertyCollection As IReadOnlyList(Of IReadOnlyPropertyBase), secondPropertyCollection As IReadOnlyList(Of IReadOnlyPropertyBase))
Parâmetros
- eventDefinition
- EventDefinitionBase
A definição de evento.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Um delegado que gera uma mensagem de log para esse evento.
- firstPropertyCollection
- IReadOnlyList<IReadOnlyPropertyBase>
A primeira coleção de propriedades.
- secondPropertyCollection
- IReadOnlyList<IReadOnlyPropertyBase>
A segunda coleção de propriedades.
Aplica-se a
Entity Framework