Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sequence GUID
Message
De
08/05/2009 12:36:50
 
 
À
08/05/2009 10:11:21
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:
01398674
Vues:
67
>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

Hi,
The link Cetin provided in a previous post has C# code to create the COMBGuid - looks like it needs to be more complex than my sample ! Even after the more complex way of getting the Date derived byte[] I see that both arrays are reversed.

Did Cetin's code work for you?
Best,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform