March 2012
Intermediate to advanced
734 pages
17h 10m
English
Along with creating tables and building screens, writing queries forms a key part of building a LightSwitch application. Queries enable you to filter data, and the results can be consumed by screens or other UI elements.
LightSwitch provides a designer that allows you to graphically build a query. For more-complex scenarios, you often need to extend queries by writing code. This chapter introduces you to the graphical designer, describes how you can extend queries by writing LINQ code, and shows you what happens inside the query pipeline.
We’ll start this chapter by describing some of the characteristics and features of queries in LightSwitch. The easiest way for you to create a query ...