public virtual int CompareTo(object o)
        {
            if (o == null || o.GetType() != OID_TYPE)
            {
                return(-1000);
            }
            OdbObjectOID otherOid = (OdbObjectOID)o;
            int          r        = (int)(oid - otherOid.oid);

            return(r);;
        }
        public override bool Equals(object o)
        {
            if (this == o)
            {
                return(true);
            }
            if (o == null || o.GetType() != OID_TYPE)
            {
                return(false);
            }
            OdbObjectOID otherOid = (OdbObjectOID)o;

            return(otherOid.oid == this.oid);
        }