WebGoat.NET
WebGoat.NET copied to clipboard
Remove raw SQL usage from the codebase
There are some raw SQL queries in the code. We should consider using EF Core instead. For some reason EF does not work properly in the checkout, we need to find out why and fix it.
The issue causes an exception when two exactly the same products are added to the cart.
The bug exists due to the fact that we call SQL manually to populate tables during checkout. We generate SQL with the same keys twice for the same products.
It seems like fixing the cart did not help with removing raw SQL. The main issue still exists.
Fixed. Requires verification on dev branch.
Reverted changes - there were issues with checking out with over 3 items in the cart.
Branch issue-20-Remove_raw_SQL_usage_from_the_codebase created!