Visual Studio 2016.
I still know how to work with a database only this way: I create a database in (localDb) \ Projects, generate a table from a file with a sql script, then pull out or write data using SqlCommand.
Is it included in the project so that the program runs on another computer? I have some doubts.
If it doesn’t turn on, please explain on fingers for such a club like me - is it possible to create a local database inside the project so that it can also work with queries in the same way?
If you click "Create item", there are three options, "Database, based on services", "Local Database", "Data Set". Each of the options involves a bunch of different settings that I think nafig did not give up. I thought, since I need a local database, then the Local Database option is the most logical one. But everything is not so simple.
I looked at the "Data Set" - I immediately saw that there were no requests, and closed it. If you choose local, then there are 2 more options - "Data Set", "EDM Data Model". The fact that there is again a set of data confuses me. The data model was created for a long time, but I need to actually draw a model there, which I do not need.
In short, I didn’t understand something, please help the fool.
