public static void SqlPackageExport(this ICakeContext context, SqlPackageExportSettings settings, ProcessSettings processSettings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

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

            runner.Execute(settings ?? new SqlPackageExportSettings(), processSettings);
        }
        public static void SqlPackageExport(this ICakeContext context, Action <SqlPackageExportSettings> configurationAction)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            if (configurationAction == null)
            {
                throw new ArgumentNullException(nameof(configurationAction));
            }

            var settings = new SqlPackageExportSettings();

            configurationAction(settings);

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

            runner.Execute(settings);
        }
 public static void SqlPackageExport(this ICakeContext context, SqlPackageExportSettings settings)
 {
     SqlPackageExport(context, settings, null);
 }