Beispiel #1
0
    public static Task AddAllAsync <TEntity>(
        this IAsyncStore store, CancellationToken cancellation, params TEntity[] entities)
        where TEntity : class
    {
        AllMethodContracts(store, entities);

        return(store.AddAllAsync(entities, cancellation));
    }
Beispiel #2
0
 public static Task AddAllAsync <TEntity>(this IAsyncStore store, params TEntity[] entities)
     where TEntity : class => store.AddAllAsync(CancellationToken.None, entities);