Ejemplo n.º 1
0
        internal IPersists loadObject()
        {
            int clsId = reader.ReadInt32();
            int objId = reader.ReadInt32();

            if (clsId == 0 && objId == 0)
            {
                return(null);
            }

            IPersists obj = factory.createObj(clsId);

            obj.loadFrom(reader, this);
            idObjs[objId] = obj;
            return(obj);
        }