C H A P T E R  3

Working with Data

Data is the core feature that makes LightSwitch what it is. Data is the heart and soul of the product, and without it, LightSwitch would not be capable of doing very much. To illustrate the prominence of data, the very first screen that you see when creating a LightSwitch application prompts you to either create a new table or attach to existing data.

In this chapter, you will learn how to use data in LightSwitch. This includes creating tables and fields, attaching to existing data, setting up relationships, and programming computed properties.

Understanding Entities and Properties

We begin this chapter by explaining a couple of fundamental items. An entity is the basic unit of data that is used within LightSwitch. ...

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.