Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sequence GUID
Message
De
08/05/2009 10:11:21
 
 
À
08/05/2009 09:18:05
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Versions des environnements
Environment:
C# 3.0
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01398391
Message ID:
01398611
Vues:
80
Hi,
Thank you.

I tried out the code (code posted here and also from Jimmy one), and found that it is not generated in sequence as well. The way I test is

1. Defined an array contains 5 elements.
2. Call the COMBGuid 5 times and assigned the return value to each element accordingly 0..1..2..3..4..5
3. Copy the guid value of each array elements to guid column of each record in table.
4. ORDER the guid column

Result, the sequence of record doesn't same as the order of array element.

Is it the right way to test?

Please advice. Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform