예제 #1
0
 public static Task <int> SaveChangesAsync(
     this IItsDbContext dataContext,
     CancellationToken ctok)
 {
     return(dataContext.SaveChangesAsync(ctok));
 }
예제 #2
0
 public static Task <int> SaveChangesAsync(this IItsDbContext dataContext)
 {
     return(dataContext.SaveChangesAsync(CancellationToken.None));
 }