This project has moved and is read-only. For the latest updates, please go here.

What are "inner objects"?

Jan 30, 2013 at 12:07 PM


In my custom RepositoryReader / RepositoryWriter I completely ignore such mysterious thing as "inner objects" - but it seems that shapes are saved/loaded without loosing any data. Or I was just training with too simple shapes :)

Question: could You please explain what are these "inner objects"? And can there be any bad effect of ignoring them (in repository operations)?

Jan 30, 2013 at 1:14 PM

InnerObjects are used for store complex fields/properties of Shapes/ModelObjects or collections of simple/complex properties.
See here for an example how to store a "ContactInfo" property consisting of name, address and email/phone.

As long as you don't use shapes that use collections (e.g. "EntitySymbol" shape of library "SoftwareArchitectureShapes") and as long as your lines do not consist of more than 2 vertices, there should be no problem... ;-)