Skip to content

Instantly share code, notes, and snippets.

@manadart
Created April 16, 2012 11:36
Show Gist options
  • Save manadart/2397982 to your computer and use it in GitHub Desktop.
Save manadart/2397982 to your computer and use it in GitHub Desktop.
Utility for generating GUIDs/UUIDs congruent with those generated by Oracle.
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