Created
April 16, 2012 11:36
-
-
Save manadart/2397982 to your computer and use it in GitHub Desktop.
Utility for generating GUIDs/UUIDs congruent with those generated by Oracle.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class GuidFactory | |
{ | |
public static string Last { get; set; } | |
public static string Next | |
{ | |
get | |
{ | |
Last = System.Guid.NewGuid().ToString().Replace("-", string.Empty); | |
return Last; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment