Like the others have suggested:
- Add the correct references and directives. But it still doesn't work? Maybe you have the same problem I did:
Have a look below and see if you can tell me what is wrong:
public class PanelLengthContext : DBContext { } ??!
Make sure the class name is not misspelt - (case sensitivity)!
DbContext is the correct spelling.
- this is how it should look:
- check the spelling. don't waste 20 min of your life like i did.
public class PanelLengthContext : DbContext {}
HTH