Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits. Anti-spam check. Do not fill this in!==Derived members== Derived members is a powerful feature in Bold. * Divide complicated formulas in smaller pieces. * Saves CPU-time as code is executed only when data changed. A derived member can be of 3 main types: * Attribut whose datatype is string, integer, float etc. * Singlelink. It points to another instance in objectspace. * Multilink. This holds a collection of instances in objectspace. Derived members is used to calculate members result on the fly whenever the member is read. The implementation is done either in delphicode or in OCL. OCL is prefered but in some ca[[s]]es code is more flexible. If code is used then it must subscribe on dependent data. It can be ordinary members in the model or other derived members. Very complicated formulas can be built. The data to start from must of course be stored in a database but then this can be propagated through many derived members. The same can of course be achieved by ordinary functions but this require more CPU-time as code for a function is always executed. The code for a derived member is only executed when dependent data is changed. Else the cached value is returned. Summary: Please note that all contributions to the Delphi Programming are considered to be released under the CC-BY-SA Cancel Editing help (opens in new window) Retrieved from "https://delphi.fandom.com/wiki/Bold_for_Delphi"