CoreLoggerExtensions.SaveChangesStarting 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 SaveChangesStarting günlükler.
public static Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<int> SaveChangesStarting(this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.DbContext context);
public static void SaveChangesStarting(this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.DbContext context);
static member SaveChangesStarting : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.DbContext -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<int>
static member SaveChangesStarting : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.DbContext -> unit
<Extension()>
Public Function SaveChangesStarting (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext) As InterceptionResult(Of Integer)
<Extension()>
Public Sub SaveChangesStarting (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext)
Parametreler
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Update>
Kullanılacak tanılama günlükçüsüsü.
- context
- DbContext
Kullanılan bağlam.
Döndürülenler
Muhtemelen kesişmiş, sonuç.