When datalayers run, they retrieve and cache data. Performance may be improved by minimizing the re-running of datalayers, especially if long-running queries are involved, by allowing a datalayer to share data that's already been cached by another datalayer.
Developers are always looking for ways to improve performance, particularly where database queries are concerned. You can improve the performance of your Logi applications by eliminating repeatedqueries of the same data, through use of a feature that allows data retrieved into one datalayer to be saved and re-used elsewhere within the application. Two elements are used in this process: the first one, Data Layer Link, identifies the data to be saved and made available; and the second one, DataLayer.Linked, provides a way to access and re-use that data.
The following topics discuss the technique of linking datalayers: