C
C#4mo ago
kostas

Problem updating Employee object

Hello guys, I would really love if someone could point out what is wrong in my code. I have got a task to implement the UpdateEmployee method to update the employee's information in the Employees table using the provided data. (ADO.NET, the database is SqlLite) I have been stuck for time and cannot seem to figure out what the problem is. I'm failing all unit tests, every unit test shows the same message: Expected: True But was: False at NorthwindEmployeeAdoNetService.Tests.EmployeeAdoNetServiceWriteOperationsTests.UpdateEmployee_EmployeeIsExist_UpdatesEmployee(Employee employee) in ...... Of course, I have asked LLM's for help, they didn't help. I did not write these unit tests, I do not have access to the DB, I just need to make my code work.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?