"Inheritance" vs "data relationship"

I would like the understand better the difference between the Inheritance and data relationship if are not the some thing.

@FrancescoA3404 Hi,
If a Shape entity is a data relationship, width, height and depth are related fields that the Shape consists of.
A Triangle inherits from the Shape, but width, height and depth are not inherited between the Triangle and the Shape.

Everything that belongs to a shape is part of a data relationship (all within the same class) while inheritance is about having common fields between parent and directed classes.

@BasG0629 Many thanks can I ask also the difference between the Page and Data Page??

@FrancescoA3404 A page, mostly referred to as ‘clipboard page’ or ‘named page’, is a temporary structure where data is stored in memory. During case processing, data from the clipboard can be saved into the database.

Data pages can be part of the clipboard, but have a different angle. Data pages allow data to be cached and refreshed with a strategy. For example, each time I open a flow, the system checks if the data page contains fresh data. If, according to our refresh strategy this is not the case anymore, the data page is reloaded with new data fetched from a source.

Clipboard / named pages are updated with, for example, a data transform or activity. For example, we can perform a Property-Set in a data transform to set data on a named page (with syntax: page.property = value). When we don’t specify a named or data page, the current step page is used, which can be either the primary page (i.e. pyWorkPage) or an embedded page (i.e. pyWorkPage.pyWorkParty(Contact)).

@BasG0629 Many thanks

Thank you so much

Best regard,
Francesco