CHAPTER 4

image

Accessing Data with Code

It’s entirely possible to create functional applications without writing any code. But to go further, you’ll need to understand the event model and data Application Programming Interfaces (APIs) that LightSwitch exposes.

In this chapter, you will learn how to

  • Access data with code and understand the event model
  • Work with the save pipeline
  • Understand transactions and concurrency

This chapter extends the HelpDesk application and shows you how to add features that are possible only through code. For example, you’ll find out how to allow administrators to configure the system for first-time use by autocreating ...

Get Visual Studio LightSwitch 2012 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.