public static Task AddOrIgnoreAllAsync <TEntity>( this IAsyncStore store, CancellationToken cancellation, params TEntity[] entities) where TEntity : class { AllMethodContracts(store, entities); return(store.AddOrIgnoreAllAsync(entities, cancellation)); }
public static Task AddOrIgnoreAllAsync <TEntity>(this IAsyncStore store, params TEntity[] entities) where TEntity : class => store.AddOrIgnoreAllAsync(CancellationToken.None, entities);