Popularity
0.9
Declining
Activity
0.0
Stable
4
2
1

Code Quality Rank: L4
Programming language: C#
License: Apache License 2.0
Tags: ORM     Framework     Entityframework     Entity     EF     Migrations     EF6    

EntityFramework.DatabaseMigrator alternatives and similar packages

Based on the "ORM" category.
Alternatively, view EntityFramework.DatabaseMigrator alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of EntityFramework.DatabaseMigrator or a related project?

Add another 'ORM' Package

README

EntityFramework.DatabaseMigrator

NuGet Packages

Install-Package EntityFramework.DatabaseMigrator

Back story and additional details available here.

Instructions

Assuming you already have migrations enabled,

  1. Add a new WinForms project to your solution.

  2. Delete the form automatically added to the new project.

  3. Open program.cs in the root of your project and change Form1 to EntityFramework.DatabaseMigrator.DatabaseMigrator

        static class Program
        {
            /// <summary>
            /// The main entry point for the application.
            /// </summary>
            static void Main()
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new EntityFramework.DatabaseMigrator.DatabaseMigrator());
            }
        }
    
  4. Change your migration configuration to inherit from BaseMigrationConfiguration or add and implement the IMigrationConfiguration interface.

    internal sealed class Configuration : BaseMigrationConfiguration<EntityFramework.DatabaseMigrator.Example.Data.BlogContext>
    {
        public Configuration()
        {
            AutomaticMigrationsEnabled = false;
            ContextKey = "EntityFramework.DatabaseMigrator.Example.Data.BlogContext";
        }
    }