Пример #1
0
        public static void DotNetCoreEfMigrationRemove(this ICakeContext context, string project, ProcessArgumentBuilder arguments, DotNetCoreEfMigrationRemoveSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            if (settings == null)
            {
                settings = new DotNetCoreEfMigrationRemoveSettings();
            }

            var runner = new DotNetCoreEfMigrationRemover(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Remove(project, arguments, settings);
        }
Пример #2
0
 public static void DotNetCoreEfMigrationRemove(this ICakeContext context, string project, DotNetCoreEfMigrationRemoveSettings settings)
 {
     context.DotNetCoreEfMigrationRemove(project, null, settings);
 }