SqlHelper.GenerateComb Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

GenerateComb()

Generate a new System.Guid using a strategy suggested by Jimmy Nilsson on http://www.informit.com/articles/article.asp?p=25862. The comb algorithm is designed to make the use of GUIDs as Primary Keys, Foreign Keys, and Indexes nearly as efficient as ints.

public static Guid GenerateComb()

Returns

System.Guid