An overload of GenerateDeployScript that accepts Stream
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 460
- Forks
- 29
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 7
Description
Hi,
In DacServices class there are 3 definitions of GenerateDeployScript method:
```csharp
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the DacServices class by comparing the instance GenerateDeployScript overload with the existing static overload that accepts an output Stream. Trace how the instance method produces its script and add the requested Stream-based entry point; done means the overload is available with the same relevant parameters and preserves the existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- backend-api-design, databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100