Sequential GUID in Linq-to-Sql?

Posted by JacobE on Stack Overflow See other posts from Stack Overflow or by JacobE
Published on 2009-03-20T09:07:28Z Indexed on 2010/06/07 7:02 UTC
Read the original article Hit count: 242

Filed under:
|
|
|

I just read a blog post about NHibernate's ability to create a GUID from the system time (Guid.Comb), thus avoiding a good amount of database fragmentation. You could call it the client-side equivalent to the SQL Server Sequential ID.

Is there a way I could use a similar strategy in my Linq-to-Sql project (by generating the Guid in code)?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about nhibernate