CommandEndEventData 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
CommandEndEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, DbCommand, DbCommandMethod, Guid, Guid, Boolean, Boolean, DateTimeOffset, TimeSpan)
Olay yükünü oluşturur.
public CommandEndEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod executeMethod, Guid commandId, Guid connectionId, bool async, bool logParameterValues, DateTimeOffset startTime, TimeSpan duration);
new Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod * Guid * Guid * bool * bool * DateTimeOffset * TimeSpan -> Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), command As DbCommand, executeMethod As DbCommandMethod, commandId As Guid, connectionId As Guid, async As Boolean, logParameterValues As Boolean, startTime As DateTimeOffset, duration As TimeSpan)
Parametreler
- eventDefinition
- EventDefinitionBase
Olay tanımı.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Bu olay için günlük iletisi oluşturan bir temsilci.
- 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.
- logParameterValues
- Boolean
Uygulamanın parametre değerlerinin günlüğe kaydedilmesine izin verip vermediğini gösterir.
- startTime
- DateTimeOffset
Bu olayın başlangıç saati.
- duration
- TimeSpan
Bu olayın süresi.
Şunlara uygulanır
CommandEndEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, DbConnection, DbCommand, DbContext, DbCommandMethod, Guid, Guid, Boolean, Boolean, DateTimeOffset, TimeSpan)
Dikkat
Use the overload with CommandSource
Olay yükünü oluşturur.
public CommandEndEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbConnection connection, System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.DbContext context, Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod executeMethod, Guid commandId, Guid connectionId, bool async, bool logParameterValues, DateTimeOffset startTime, TimeSpan duration);
[System.Obsolete("Use the overload with CommandSource")]
public CommandEndEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbConnection connection, System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.DbContext? context, Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod executeMethod, Guid commandId, Guid connectionId, bool async, bool logParameterValues, DateTimeOffset startTime, TimeSpan duration);
new Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbConnection * System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod * Guid * Guid * bool * bool * DateTimeOffset * TimeSpan -> Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData
[<System.Obsolete("Use the overload with CommandSource")>]
new Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbConnection * System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod * Guid * Guid * bool * bool * DateTimeOffset * TimeSpan -> Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), connection As DbConnection, command As DbCommand, context As DbContext, executeMethod As DbCommandMethod, commandId As Guid, connectionId As Guid, async As Boolean, logParameterValues As Boolean, startTime As DateTimeOffset, duration As TimeSpan)
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.
- logParameterValues
- Boolean
Uygulamanın parametre değerlerinin günlüğe kaydedilmesine izin verip vermediğini gösterir.
- startTime
- DateTimeOffset
Bu olayın başlangıç saati.
- duration
- TimeSpan
Bu olayın süresi.
- Öznitelikler
Şunlara uygulanır
CommandEndEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, DbConnection, DbCommand, DbContext, DbCommandMethod, Guid, Guid, Boolean, Boolean, DateTimeOffset, TimeSpan, CommandSource)
Olay yükünü oluşturur.
public CommandEndEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Data.Common.DbConnection connection, System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.DbContext? context, Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod executeMethod, Guid commandId, Guid connectionId, bool async, bool logParameterValues, DateTimeOffset startTime, TimeSpan duration, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
new Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Data.Common.DbConnection * System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.DbCommandMethod * Guid * Guid * bool * bool * DateTimeOffset * TimeSpan * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> Microsoft.EntityFrameworkCore.Diagnostics.CommandEndEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), connection As DbConnection, command As DbCommand, context As DbContext, executeMethod As DbCommandMethod, commandId As Guid, connectionId As Guid, async As Boolean, logParameterValues As Boolean, startTime As DateTimeOffset, duration As TimeSpan, 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.
- logParameterValues
- Boolean
Uygulamanın parametre değerlerinin günlüğe kaydedilmesine izin verip vermediğini gösterir.
- startTime
- DateTimeOffset
Bu olayın başlangıç saati.
- duration
- TimeSpan
Bu olayın süresi.
- commandSource
- CommandSource
Komutun kaynağı.
Şunlara uygulanır
Entity Framework