Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- internal sealed class Configuration : DbMigrationsConfiguration<MyDbContext>
- {
- ...
- }
- public partial class Init: DbMigration
- {
- public override void Up()
- {
- ...
- }
- public override void Down()
- {
- ...
- }
- }
- public Configuration()
- {
- AutomaticMigrationsEnabled = true;
- MigrationsDirectory = @"MigrationsContext1";
- }
Add Comment
Please, Sign In to add comment