Esempio n. 1
0
 public override Task <int> SaveChangesAsync(CancellationToken cancellationToken)
 {
     return(_helper.SaveChangesAsync(this, () => base.SaveChangesAsync(cancellationToken)));
 }
 /// <summary>
 /// Saves the changes asynchronously.
 /// </summary>
 /// <param name="cancellationToken">The cancellation token.</param>
 public override async Task <int> SaveChangesAsync(CancellationToken cancellationToken = default(CancellationToken))
 {
     return(await _helper.SaveChangesAsync(this, () => base.SaveChangesAsync(cancellationToken)));
 }