【问题标题】:Is there a replacement for DacStore in DacFx 3.0?DacFx 3.0 中有 DacStore 的替代品吗?
【发布时间】:2015-05-26 20:45:07
【问题描述】:

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

【问题讨论】:

    标签: c# sql-server dac


    【解决方案1】:

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

    我在这里举了一个如何以编程方式(使用 SQL 查询)获取版本的示例:https://stackoverflow.com/a/30471951/9976

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-17
      • 2017-03-05
      • 2021-03-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多