2 ms·
You either generate a model based on your database, or generate your database from your model. That way the database and model are always in sync and you get er
by mikaelhardo 9y ago
You either generate a model based on your database, or generate your database from your model.
That way the database and model are always in sync and you get errors in the code. In Entity Framework this is called either "Code first" or "Database first"