Tim
Issue with DbContext reading in DB Tables
I am trying to use DbContext and the optionsBuilder to connect to my database and obtain a table called "Card". I am doing the following command in :
and also have the following object instantiated in the same class:
Then, in my main method I run the following lines:
I get an error that "Card" is not a known table even though I have a Card table in the database. What am I doing wrong?
126 replies