Use sequential guids in c# 2010/10/14by Daniel WertheimLeave a Comment Sql-server has support for generating sequential ids so that they get indexed in a ordered fashion. .Net doesn’t have this. You could invoke code in a managed library but that will not guarantee uniqueness if the computer has mac….. yada, yada, yada.. Why not let Sql-server generate a batch, sit on them in .Net in a queue and when needed you check one out? I’m not saying you should. I’m saying you could.
|
6
Shouts |
|
|||
No comments yet, be the first one to post comment.