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 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.