SQL Server: Error better when no database name #7816
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
good first issue
This issue should be relatively straightforward to fix.
help wanted
This issue involves technologies where we are not experts. Expert help would be appreciated.
type-bug
Milestone
I followed along with the VS Launch live stream and tested a .NETCore console app with EFCore, but I am running into an error while deleting the database. Exception below:
Steps to reproduce
So I tried it with my own code first, and then copied and pasted the code from this repo in order to factor out anything I was doing wrong (code is from the live stream demo).
I am using a local database file created by going to Server Explorer, right-clicking on Data Connections and hitting, "Add Connection..." I selected the
Microsoft SQL Server Database File
then chose a file location with everything else in the default configuration.The connection string I'm using in the code below came directly from the connection string property when I highlighted this created database file.
The only other steps taken were to run an Add-Migration and an Update-Database commands in the Package Manager Console.
Further technical details
The text was updated successfully, but these errors were encountered: