severian
severian
CC#
Created by severian on 1/10/2025 in #help
Can't Update DB after following Data Access Documentation
I am following this document and am completely stuck with updating items in the DB. I am able to retrieve the data that is seeded from the DbInitializer class., but cannot add new students or edit existing ones. Normally I would search the error output but I am not getting anything or in the console either. I've compared my code with theirs and even replicated it with this repo with no luck. One thing I noticed is the program.cs is different than what gets generated by Visual Studio. Also there is no startup.cs that gets generated, it seems like that is all handled in the program.cs? Any help would greatly be appreciated.
27 replies