TransactionEventData Constructores

Definición

Sobrecargas

TransactionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, DbTransaction, Guid, Guid, DateTimeOffset)

Construye la carga del evento.

TransactionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, DbTransaction, DbContext, Guid, Guid, Boolean, DateTimeOffset)

Construye la carga del evento.

TransactionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, DbTransaction, Guid, Guid, DateTimeOffset)

Construye la carga del evento.

public TransactionEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbTransaction transaction, Guid transactionId, Guid connectionId, DateTimeOffset startTime);
new Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbTransaction * Guid * Guid * DateTimeOffset -> Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), transaction As DbTransaction, transactionId As Guid, connectionId As Guid, startTime As DateTimeOffset)

Parámetros

eventDefinition
EventDefinitionBase

Definición del evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegado que genera un mensaje de registro para este evento.

transactionId
Guid

Identificador de correlación que identifica la transacción de Entity Framework que se usa.

connectionId
Guid

Identificador de correlación que identifica la DbConnection instancia que se está usando.

startTime
DateTimeOffset

Hora de inicio de este evento.

Se aplica a

TransactionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, DbTransaction, DbContext, Guid, Guid, Boolean, DateTimeOffset)

Construye la carga del evento.

public TransactionEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.DbContext context, Guid transactionId, Guid connectionId, bool async, DateTimeOffset startTime);
public TransactionEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.DbContext? context, Guid transactionId, Guid connectionId, bool async, DateTimeOffset startTime);
new Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.DbContext * Guid * Guid * bool * DateTimeOffset -> Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), transaction As DbTransaction, context As DbContext, transactionId As Guid, connectionId As Guid, async As Boolean, startTime As DateTimeOffset)

Parámetros

eventDefinition
EventDefinitionBase

Definición del evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegado que genera un mensaje de registro para este evento.

context
DbContext

Actualmente DbContext en uso, o null si no se conoce.

transactionId
Guid

Identificador de correlación que identifica la transacción de Entity Framework que se usa.

connectionId
Guid

Identificador de correlación que identifica la DbConnection instancia que se está usando.

async
Boolean

Indica si la transacción se usa de forma asincrónica.

startTime
DateTimeOffset

Hora de inicio de este evento.

Se aplica a