Skip to content

Instantly share code, notes, and snippets.

View kolluri-rk's full-sized avatar

Ram Kolluri kolluri-rk

View GitHub Profile
@kolluri-rk
kolluri-rk / efcore_migrations_api.md
Last active March 24, 2020 23:50
EF Core migrations API

dotnet/efcore#6110

EF6

var migrator = new DbMigrator(new MigrationsConfiguration());

var all = migrator.GetLocalMigrations();
var applied = migrator.GetDatabaseMigrations();
var pending = migrator.GetPendingMigrations();

Keybase proof

I hereby claim:

  • I am kolluri-rk on github.
  • I am ramkolluri (https://keybase.io/ramkolluri) on keybase.
  • I have a public key ASCwT4xb78RLLtNdVhuBdppDPVMNeW-JztBsyYL_OcNZ4Ao

To claim this, I am signing this object: