Exemplo n.º 1
0
 public Uuid(Guid guid)
 {
     AsByte     = new UuidBytes();
     AsShort    = new UuidShort();
     AsInteger  = new UuidInteger();
     AsCardinal = new UuidCardinal();
     AsLong     = new UuidLong();
     AsGuid     = guid;
 }
Exemplo n.º 2
0
        public Uuid(string g)
        {
            var guid = new Guid(g);

            AsByte     = new UuidBytes();
            AsShort    = new UuidShort();
            AsInteger  = new UuidInteger();
            AsCardinal = new UuidCardinal();
            AsLong     = new UuidLong();
            AsGuid     = guid;
        }