ObjectType and AttrCount

ThomyKay

Member²
I'm selecting (using TOracleQuery) an object type having 3 scalar attributes and and embedded object type having 5 attributes.
I get AttrCount=9 (3scalar + 1object + 5scalar of object) but I would expect (3scalar + 1object) in the first level and (5scalar) in the second level. What's wrong here? (The Object Type is an descendent OT using 9i type inheritance).
 
All attributes and sub-attributes of embedded objects are accessible from the root object. For example:

Street := Person.GetAttr('Address.Street');

------------------
Marco Kalter
Allround Automations
 
Back
Top