Skip to Main Content
Pro Visual Studio LightSwitch 2011 Development
book

Pro Visual Studio LightSwitch 2011 Development

by Tim Leung, Yann Duran
March 2012
Intermediate to advanced content levelIntermediate to advanced
734 pages
17h 10m
English
Apress
Content preview from Pro Visual Studio LightSwitch 2011 Development

C H A P T E R  4

Accessing Data from Code

Sooner or later, you will reach the limits of what you can achieve by using the graphical designers. To progress further, you will need to write code. LightSwitch provides a strong set of APIs to help you out in this task. There are many things that you can achieve through code, one of which is accessing data.

In this chapter, you will learn how to access your data by using code. This not only includes the data that you have defined through your data sources, but also security details such as the currently logged-on user. When data is committed to the database (or underlying data store), it passes through the save pipeline, and LightSwitch automatically manages the issues that relate to transactions ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applying COM+

Applying COM+

Gregory Brill
Programming in the .NET Environment

Programming in the .NET Environment

Damien Watkins, Mark Hammond, Brad Abrams

Publisher Resources

ISBN: 9781430240082Purchase book