newbie_86
newbie_86

Reputation: 4610

Possible to add migration using EF DbMigrator

Is it possible to add a migration file using DbMigrator in code instead of through the powershell commands?

Upvotes: 0

Views: 423

Answers (1)

Ladislav Mrnka
Ladislav Mrnka

Reputation: 364249

DbMigrator is class for running migrations. Classes for creating migration are in System.Data.Entity.Migrations.Design. ToolingFacade is called by powershell commands. Other classes represents low level API for creating migration code.

Upvotes: 0

Related Questions