DacFx icon indicating copy to clipboard operation
DacFx copied to clipboard

An overload of GenerateDeployScript that accepts Stream

Open rmeshksar opened this issue 1 year ago • 0 comments

Hi, In DacServices class there are 3 definitions of GenerateDeployScript method:

public string GenerateDeployScript(DacPackage package, string targetDatabaseName, DacDeployOptions options = null, CancellationToken? cancellationToken = null)

public static string GenerateDeployScript(DacPackage sourcePackage, DacPackage targetPackage, string targetDatabaseName, DacDeployOptions options = null)

public static void GenerateDeployScript(Stream outputStream, DacPackage sourcePackage, DacPackage targetPackage, string targetDatabaseName, DacDeployOptions options = null)

I would like to request for adding an overload to the first definition that accepts Stream like what is available for the static method.

Thanks.

rmeshksar avatar Mar 09 '24 14:03 rmeshksar