IRelationalCommandDiagnosticsLogger.DataReaderDisposing Yöntem
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.
Olay için DataReaderDisposing günlükler.
public Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult DataReaderDisposing (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, System.Data.Common.DbDataReader dataReader, Guid commandId, int recordsAffected, int readCount, DateTimeOffset startTime, TimeSpan duration);
abstract member DataReaderDisposing : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * System.Data.Common.DbDataReader * Guid * int * int * DateTimeOffset * TimeSpan -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult
Public Function DataReaderDisposing (connection As IRelationalConnection, command As DbCommand, dataReader As DbDataReader, commandId As Guid, recordsAffected As Integer, readCount As Integer, startTime As DateTimeOffset, duration As TimeSpan) As InterceptionResult
Parametreler
- connection
- IRelationalConnection
Bağlantı.
- command
- DbCommand
Veritabanı komut nesnesi.
- dataReader
- DbDataReader
Veri okuyucu.
- recordsAffected
- Int32
Veritabanında etkilenen kayıt sayısı.
- readCount
- Int32
Okunan kayıtların sayısı.
- startTime
- DateTimeOffset
İşlemin başlatıldığı saat.
- duration
- TimeSpan
İşlemin başlatıldığı zamandan geçen süre.
Döndürülenler
Bir kesme noktası tarafından değiştirilmiş olabilecek yürütmenin sonucu.
Şunlara uygulanır
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Entity Framework