ConflictingValueGenerationStrategiesEventData 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
ConflictingValueGenerationStrategiesEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, SqlServerValueGenerationStrategy, String, IProperty)
Constrói o conteúdo do evento.
public ConflictingValueGenerationStrategiesEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy sqlServerValueGenerationStrategy, string otherValueGenerationStrategy, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
new Microsoft.EntityFrameworkCore.Diagnostics.ConflictingValueGenerationStrategiesEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy * string * Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Diagnostics.ConflictingValueGenerationStrategiesEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), sqlServerValueGenerationStrategy As SqlServerValueGenerationStrategy, otherValueGenerationStrategy As String, property As IProperty)
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.
- sqlServerValueGenerationStrategy
- SqlServerValueGenerationStrategy
A estratégia de geração de valor SQL Server.
- otherValueGenerationStrategy
- String
A outra estratégia de geração de valor.
- property
- IProperty
A propriedade.
Aplica-se a
ConflictingValueGenerationStrategiesEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, SqlServerValueGenerationStrategy, String, IReadOnlyProperty)
Constrói o conteúdo do evento.
public ConflictingValueGenerationStrategiesEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy sqlServerValueGenerationStrategy, string otherValueGenerationStrategy, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
new Microsoft.EntityFrameworkCore.Diagnostics.ConflictingValueGenerationStrategiesEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Diagnostics.ConflictingValueGenerationStrategiesEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), sqlServerValueGenerationStrategy As SqlServerValueGenerationStrategy, otherValueGenerationStrategy As String, property As IReadOnlyProperty)
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.
- sqlServerValueGenerationStrategy
- SqlServerValueGenerationStrategy
A estratégia de geração de valor SQL Server.
- otherValueGenerationStrategy
- String
A outra estratégia de geração de valor.
- property
- IReadOnlyProperty
A propriedade.
Aplica-se a
Entity Framework