CHAPTER 6

image

Writing Data-Access Code

LightSwitch includes .NET and JavaScript APIs (application programming interfaces) that you can use to access the data in your project. By using these APIs, you can write code to carry out tasks such as adding, deleting, or updating records. In this chapter, you will learn how to

  • write JavaScript and .NET code to access data on the client;
  • attach custom code that executes during the server-side save process; and
  • understand transactions and concurrency.

This chapter will show you how to build features that you can create only through code. Through the context of the Help Desk application, you’ll discover how ...

Get Visual Studio LightSwitch 2015, Second Edition now with O’Reilly online learning.

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