AlexZhidkov / BedfordHarbourBOM

Bedford Harbour Engineering bill of materials.
5 stars 10 forks source link

Merge stored procedures #46

Open AlexZhidkov opened 9 years ago

AlexZhidkov commented 9 years ago

Merge RecalculateCostsForAssembly into RecalculateRecurse so calculating costs, demand and capability done with one walk over parts tree with single entry through call to Recalculate stored procedure. Best approach would be to:

  1. write tests for current RecalculateRecurse to make sure it works properly as is
  2. merge stored procedures
  3. make sure test cases for RecalculateCostsForAssembly and old RecalculateRecurse not broken when using combined stored procedure.
AlexZhidkov commented 9 years ago

Part 1 is done. Tests can be found in Bom.Database.Tests projects.