I tried to delete the table by deleting it from the DbContext.
You can use db.Database.ExecuteSqlCommandto delete tables:
using Microsoft.EntityFrameworkCore;
using (var db = new BloggingContext())
{
db.Database.ExecuteSqlCommand("DROP TABLE [Blogs]");
}
I don’t understand: "write a DropTable statement in the Down method of [DateStamp] _InitialCreate.cs class
<DateStamp>_<MigrationName>.cs (Add-MigrationMigrationName). Migrations. Down.
, db.Database.Migrate() ( App.xaml.cs). SQLite __EFMigrationsHistory, , <DateStamp>_<MigrationName>.cs. [Migration("<TimeStamp>_<MigrationName>")] , :

, , .