DacFx 3.0 中是否有 DacStore 的替代品?

Is there a replacement for DacStore in DacFx 3.0?

在旧版本的 DacFx 中,有一个 DacStore class 可用于检索(例如)当前安装的 DAC 包的版本。如何使用 DacFx 3.0 做到这一点?我们是否应该继续使用旧的 classes 来实现此功能?

根据 this forum post 没有办法使用 API 来获取当前安装的版本。 :( 另见 Upgrading DACPACs with DACFx 3.0 API - How to inspect current DAC version of an existing database?

我在此处提供了一个如何以编程方式(使用 SQL 查询)获取版本的示例: