6
Shouts

Use sequential guids in c# « Daniel Wertheim

published 949 days, 15 hours, 12 minutes ago posted by sedanwersedanwer 951 days, 10 hours, 38 minutes ago
Saturday, October 16, 2010 2:13:51 PM GMT Thursday, October 14, 2010 6:47:40 PM GMT

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.

category: Data | clicked: 3 | | source: daniel.wertheim.se | show counter code
tags: ADO.NET, sequential guids, SQL

No comments yet, be the first one to post comment.

To post your comment please login or signup