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

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

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

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

            var settings = new SqlPackagePublishSettings();

            configurationAction(settings);

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

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