Mark
Mark

Reputation: 11740

Is there a replacement for DacStore in DacFx 3.0?

In older versions of DacFx, there was a DacStore class that could be used to retrieve (for example) the version of a DAC package that is currently installed. How does one do this with DacFx 3.0? Should we continue to use the older classes for this functionality?

Upvotes: 1

Views: 187

Answers (1)

Mark
Mark

Reputation: 2926

according to this forum post there isn't a way to use the API to get the current installed version. :( See also Upgrading DACPACs with DACFx 3.0 API - How to inspect current DAC version of an existing database?

I have put an example of how to get the version programatically (using SQL Query) here: https://stackoverflow.com/a/30471951/9976

Upvotes: 2

Related Questions