SaveChangesFailedEventArgs(Boolean, Exception) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new SaveChangesFailedEventArgs instance with the exception that was thrown.
public SaveChangesFailedEventArgs (bool acceptAllChangesOnSuccess, Exception exception);
new Microsoft.EntityFrameworkCore.SaveChangesFailedEventArgs : bool * Exception -> Microsoft.EntityFrameworkCore.SaveChangesFailedEventArgs
Public Sub New (acceptAllChangesOnSuccess As Boolean, exception As Exception)
Parameters
- acceptAllChangesOnSuccess
- Boolean
The value passed to SaveChanges.
- exception
- Exception
The exception thrown.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework