Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting SQL Server uniqueidentifier to .NET Guid type
Message
 
À
28/03/2009 10:42:59
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 3.0
Database:
MS SQL Server
Divers
Thread ID:
01391015
Message ID:
01392090
Vues:
62
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform