I created a model in the Entity Framework, and then created a database with this model.
What would be the best way to do this on the client machine?
If the Entity Framework tries to connect to the database and find the necessary tables, and they do not exist, this will result in an error.
What is the best way to create these tables on a client machine?
Using the SQL file generated by the model? If so, how can I do it?
In case it matters, I use SQL Server Express, although this question may be kind of common to any database.
source share