ComponentOne LiveLinq > Samples > Getting Started Samples > HowTo Samples > Live view samples |
HowTo LiveViews samples show the second and main part of LiveLinq functionality: LINQ queries as live views, automatically reflecting changes in the data on which they are based, so they can be used to build applications declaratively, minimizing procedural, manual coding.
Every sample uses two views over the same data: one the most basic (filtered view) and the other a little more complex, with a join. The functionality is identical in all three samples, differing only in the nature of the underlying data: user object collections (LiveLinqToObjects), ADO.NET DataSet (LiveLinqDataSet) or XML (LiveLinqToXml).
To see live views in action, you can try, for example:
See also the Live views sample application (LiveLinqIssueTracker) for more advanced functionality.
LiveViewsObjects
This sample demonstrates basic live view functionality for views based on user-defined object collections (LiveLinq to Objects).
LiveViewsDataSet
This sample demonstrates basic live view functionality for views based on ADO.NET DataSet (LiveLinq to DataSet). This sample uses a typed data set, but untyped data sets can be used as well, as shown in the LiveLinqToDataSet sample.
LiveViewsXml
This sample demonstrates basic live view functionality for views based on XML (LiveLinq to XML).