IRGDataContextSaveChangesAsync Method |
Name | Description | |
---|---|---|
SaveChangesAsync(CancellationToken) |
Saves all changes made in this context to the database.
This method will automatically call Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker.DetectChanges
to discover any changes to entity instances before saving to the underlying database.
This can be disabled via Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker.AutoDetectChangesEnabled.
Multiple active operations on the same context instance are not supported. Use
'await' to ensure that any asynchronous operations have completed before calling
another method on this context.
| |
SaveChangesAsync(Boolean, CancellationToken) |
Saves all changes made in this context to the database.
This method will automatically call Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker.DetectChanges
to discover any changes to entity instances before saving to the underlying database.
This can be disabled via Microsoft.EntityFrameworkCore.ChangeTracking.ChangeTracker.AutoDetectChangesEnabled.
Multiple active operations on the same context instance are not supported. Use
'await' to ensure that any asynchronous operations have completed before calling
another method on this context.
|