I've got this process which happens when a user wants to void a check.
Each Check contains multiple PayableCheck records, and multiple Error records
Check.CheckID = PayableCheck.CheckID
Check.CheckID = Error.CheckID
Each PayableCheck matches up with 1 Payable record.
PayableCheck.PayableID = Payable.PayableID
Each Payable corresponds with a Receipt or an Error
Error.PayableID = Payable.PayableID
Receipt.PayableID = Payable.PayableID
When a user voids a Check (given a Check ID#), I need to:
Am I better off loading everything in using Entity Framework and making the changes in C# and then saving, or is there a better approach using just sql updates and inserts?
Better create a stored procedure in sql server and write all the sql's which should do the purpose.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With