Beispiel #1
0
 public Uuid(Guid guid)
 {
     AsByte     = new UuidBytes();
     AsShort    = new UuidShort();
     AsInteger  = new UuidInteger();
     AsCardinal = new UuidCardinal();
     AsLong     = new UuidLong();
     AsGuid     = guid;
 }
Beispiel #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;
        }