开发者

VS for Database Developers: Lookup Tables

开发者 https://www.devze.com 2022-12-19 03:12 出处:网络
How to you handle the contents of lookup tables that should be treated开发者_JS百科 as \"code\" rather than data? There is currently no good support in VS for Database Developers for managing referenc

How to you handle the contents of lookup tables that should be treated开发者_JS百科 as "code" rather than data?


There is currently no good support in VS for Database Developers for managing reference data.

There is a good post at MSDN that proposes a work around for this missing feature that uses a temp table and a post deployment script to merge changes to the reference data at deployment time.

Essentially your reference data exists as a static set of insert statements into your temp table and then the merge keeps the live tables up to date.

I've been using the approach on a large fully CI project for the last five months or so and found it works well.

I've also got my fingers crossed that they will add better support for this in VSDB vNext.

0

精彩评论

暂无评论...
验证码 换一张
取 消