Valid 70-487 Dumps shared by ExamDiscuss.com for Helping Passing 70-487 Exam! ExamDiscuss.com now offer the newest 70-487 exam dumps, the ExamDiscuss.com 70-487 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 70-487 dumps with Test Engine here:
You are developing an ASP.NET Core web application by using an Entity Framework code-first approach. The application uses a SQLite database. You make changes to the classes in the model. You must apply the changes to the database. You need to suggest an approach to reliably handle the Entity Framework migrations. Which three actions should you perform? Each correct answer presents a part of the solution. NOTE: Each correct selection is worth one point.
Correct Answer: C,D,E
Explanation E: Run dotnet ef migrations add InitialCreate to scaffold a migration and create the initial set of tables for the model. C: You can workaround some of the SQLite limitations by manually writing code in your migrations to perform a table rebuild. A table rebuild involves renaming the existing table, creating a new table, copying data to the new table, and dropping the old table. D: SQLite does not support all migrations (schema changes) due to limitations in SQLite. For new development, consider dropping the database and creating a new one rather than using migrations when your model changes. References: https://docs.microsoft.com/en-us/ef/core/get-started/netcore/new-db-sqlite https://docs.microsoft.com/en-us/ef/core/providers/sqlite/limitations