I am learning Entity Framework with UWP. I tried dropping a table by deleting it from DbContext. When running the code after migration I received an error that dropping primary key is not supported with UWP. This article, https://docs.efproject.net/en/latest/providers/sqlite/limitations.html, recommends using sql(string) method. This article, https://msdn.microsoft.com/en-us/data/jj592907.aspx, has an example I am trying to follow.
using (var context = new BloggingContext())
{
var blogs = context.Blogs.SqlQuery("SELECT * FROM dbo.Blogs").ToList();
}
I cant find the reference. I like the idea of using sql statements. In another stackoverflow article, How to drop a table in Entity Framework Code First?, I don't understand: " write the DropTable statement in the Down method of [DateStamp]_InitialCreate.cs class and the table will be dropped". Isit relevant to my problem. If so how do I implement it. Thank you.
