Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting SQL Server uniqueidentifier to .NET Guid type
Message
From
30/03/2009 16:01:31
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 3.0
Database:
MS SQL Server
Miscellaneous
Thread ID:
01391015
Message ID:
01392205
Views:
66
>I was under the impression that you do not need to put in a GUID column, has that changed in 2008?. If you set-up Sql Server to replicate it will add the GUID column(s) it needs behind the scene and manage them. You do not need to plan for them nor program for them. You can use ints for your keys. The only issue you have with uniqueness is within your own keys if you allow external data stores to import records.

Wow, that is pretty cool if that's the case. I have not heard about it.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform