Exemplo n.º 1
0
 /// <summary>
 /// Remove records
 /// </summary>
 /// <param name="items"></param>
 /// <param name="context"></param>
 private void RemoveRange(IEnumerable <TKey> ids,
                          DatabaseFront.ThreadSafeTransactionContext context)
 {
     this.RemoveRange(ids.Distinct(), context.Connection.Value, context.Transaction);
 }
Exemplo n.º 2
0
 public Task ReplaceRangeAsync(IEnumerable <TRecord> items,
                               DatabaseFront.ThreadSafeTransactionContext context)
 => this.ReplaceRangeAsync(items, context.Connection, context.Transaction);