public static void AddOrUpdateAll <TEntity>(this ITransaction transaction, params TEntity[] entities)
        where TEntity : class
    {
        AllMethodContracts(transaction, entities);

        transaction.AddOrUpdateAll(entities);
    }