C H A P T E R 6
Querying Data
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.
Understanding Query Features
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 ...
Get Pro Visual Studio LightSwitch 2011 Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.