SavingChangesEventArgs Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Arguments de l’événement SavingChanges.
public class SavingChangesEventArgs : Microsoft.EntityFrameworkCore.SaveChangesEventArgs
type SavingChangesEventArgs = class
inherit SaveChangesEventArgs
Public Class SavingChangesEventArgs
Inherits SaveChangesEventArgs
- Héritage
Remarques
Pour plus d’informations et d’exemples , consultez Enregistrement de données dansles événements EF Core et EF Core .
Constructeurs
| SavingChangesEventArgs(Boolean) |
Crée des arguments d’événement pour l’événement DbContext.SavingChanges . |
Propriétés
| AcceptAllChangesOnSuccess |
Valeur passée à DbContext.SaveChanges ou DbContext.SaveChangesAsync. (Hérité de SaveChangesEventArgs) |