Exemple #1
0
        public static void DotNetCoreEfMigrationAdd(this ICakeContext context, string project, ProcessArgumentBuilder arguments, DotNetCoreEfMigrationAddSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

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

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

            runner.Add(project, arguments, settings);
        }
Exemple #2
0
 public static void DotNetCoreEfMigrationAdd(this ICakeContext context, string project, DotNetCoreEfMigrationAddSettings settings)
 {
     context.DotNetCoreEfMigrationAdd(project, null, settings);
 }