.NET Framework 4.6 and 4.5
Occurs when changes are saved to the data source.
member SavingChanges : IEvent<EventHandler,
The SavingChanges event is raised at the start of a SaveChanges operation on an ObjectContext. This event is typically used to validate changed objects before new values are written to the database.
This example is based on the Adventure Works Sales Model. This registers a handler for the SavingChanges event that performs entity state validation.
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5 SP1
.NET Framework Client Profile
Supported in: 4