/FluentMigrator.Generator

Primary LanguageC#GNU General Public License v3.0GPL-3.0

FluentMigrator.Generator

  • installation dotnet tool install --global Fluent.Migrator.Generator
  • command : fluentgenerate nameofmigration
  • creates a new directory in the current execution path named Migrations

Example Result :

using FluentMigrator;

namespace Migrations
{
    [Migration("07022022161738")]
    public class nameofmigration : Migration
    {
        public override void Up()
        {
        }

        public override void Down()
        {
        }
    }
}