Answer the question
In order to leave comments, you need to log in
How to generate an mdf file if the first call to the database is a select query?
There is a model, there is a context. The file seems to be generated when data is added to the table, but first I search for matches between the inserted data and what is in the table. How to be?
Answer the question
In order to leave comments, you need to log in
My connection string was incorrect. In VS2015, you need to write not (localdb)\v11.0
, but (localdb)\MSSQLLocalDB
( source ).
One in the title, another in the description.
Here is metanit.com/sharp/entityframework
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question