Jazyk

SavedChangesEventArgs Třída

Definice

Argumenty události události SavedChanges .

public class SavedChangesEventArgs : Microsoft.EntityFrameworkCore.SaveChangesEventArgs
type SavedChangesEventArgs = class
    inherit SaveChangesEventArgs
Public Class SavedChangesEventArgs
Inherits SaveChangesEventArgs
Dědičnost
SavedChangesEventArgs

Poznámky

Další informace a příklady najdete v tématu Ukládání dat vudálostech EF Core a EF Core .

Konstruktory

Název Description
SavedChangesEventArgs(Boolean, Int32)

Vytvoří novou SavedChangesEventArgs instanci s daným počtem uložených entit.

Vlastnosti

Název Description
AcceptAllChangesOnSuccess

Hodnota předaná nebo DbContext.SaveChangesDbContext.SaveChangesAsync.

(Zděděno od SaveChangesEventArgs)
EntitiesSavedCount

Počet uložených entit.

Platí pro