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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.