阅读背景:

在没有自动递增字段的数据库上自动增加字段。

来源:互联网 

In MS Sql Server is easy create autoincrement fields. In my systems I stopped to use autoincrement fields for primary keys, and now I use Guid's. It was awesome, I've got a lot of advantages with that change. But in another non-primary key fields, I really was needing implement a "soft autoincrement". It's because my system is DB independent, so I create the autoinc value programatically in c#. In MS Sql Server is easy create autoincrement f




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: