CommandCorrelatedEventData Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
CommandCorrelatedEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, DbConnection, DbContext, DbCommandMethod, Guid, Guid, Boolean, DateTimeOffset)
Dikkat
Use the overload with CommandSource
Olay yükünü oluşturur.
public CommandCorrelatedEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.DbContext context, Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod executeMethod, Guid commandId, Guid connectionId, bool async, DateTimeOffset startTime);
[System.Obsolete("Use the overload with CommandSource")]
public CommandCorrelatedEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.DbContext? context, Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod executeMethod, Guid commandId, Guid connectionId, bool async, DateTimeOffset startTime);
new Microsoft.EntityFrameworkCore.Diagnostics.CommandCorrelatedEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod * Guid * Guid * bool * DateTimeOffset -> Microsoft.EntityFrameworkCore.Diagnostics.CommandCorrelatedEventData
[<System.Obsolete("Use the overload with CommandSource")>]
new Microsoft.EntityFrameworkCore.Diagnostics.CommandCorrelatedEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod * Guid * Guid * bool * DateTimeOffset -> Microsoft.EntityFrameworkCore.Diagnostics.CommandCorrelatedEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), connection As DbConnection, context As DbContext, executeMethod As DbCommandMethod, commandId As Guid, connectionId As Guid, async As Boolean, startTime As DateTimeOffset)
Parametreler
- eventDefinition
- EventDefinitionBase
Olay tanımı.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Bu olay için günlük iletisi oluşturan bir temsilci.
- connection
- DbConnection
Kullanılmakta DbConnection olan.
- executeMethod
- DbCommandMethod
DbCommand yöntemi.
- connectionId
- Guid
Kullanılan örneği tanımlayan bağıntı DbConnection kimliği.
- async
- Boolean
Komutun zaman uyumsuz olarak yürütülip yürütülmediğini gösterir.
- startTime
- DateTimeOffset
Bu olayın başlangıç saati.
- Öznitelikler
Şunlara uygulanır
CommandCorrelatedEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, DbConnection, DbContext, DbCommandMethod, Guid, Guid, Boolean, DateTimeOffset, CommandSource)
Olay yükünü oluşturur.
public CommandCorrelatedEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.DbContext? context, Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod executeMethod, Guid commandId, Guid connectionId, bool async, DateTimeOffset startTime, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
new Microsoft.EntityFrameworkCore.Diagnostics.CommandCorrelatedEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod * Guid * Guid * bool * DateTimeOffset * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> Microsoft.EntityFrameworkCore.Diagnostics.CommandCorrelatedEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), connection As DbConnection, context As DbContext, executeMethod As DbCommandMethod, commandId As Guid, connectionId As Guid, async As Boolean, startTime As DateTimeOffset, commandSource As CommandSource)
Parametreler
- eventDefinition
- EventDefinitionBase
Olay tanımı.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Bu olay için günlük iletisi oluşturan bir temsilci.
- connection
- DbConnection
Kullanılmakta DbConnection olan.
- executeMethod
- DbCommandMethod
DbCommand yöntemi.
- connectionId
- Guid
Kullanılan örneği tanımlayan bağıntı DbConnection kimliği.
- async
- Boolean
Komutun zaman uyumsuz olarak yürütülip yürütülmediğini gösterir.
- startTime
- DateTimeOffset
Bu olayın başlangıç saati.
- commandSource
- CommandSource
Komutun kaynağı.
Şunlara uygulanır
Entity Framework