示例#1
0
        public void Run(IOperationExecutor executor)
        {
            var files = executor.AddMigration(_name, _outputDir, _context);

            if (_json)
            {
                ReportJson(files);
            }
            else
            {
                Reporter.Output("Done. To undo this action, use 'dotnet ef migrations remove'");
            }
        }