Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

11. Using WCF RIA Services > Using LoadBehavior to control what happens to your...

Using LoadBehavior to control what happens to your data once it's sent to the client

Applies to Silverlight 4 and 5

Fetching data from the server is one thing, but as we're working in a disconnected environment, we need a way to control what happens to entities when they arrive on the client, what if a version of that same Entity already exists on the client? Should it be ignored? Merged? Overwritten?

In this recipe, we'll learn how to deal with these situations.

Getting ready

Before getting started, you have to make sure the correct SDK and assemblies to enable WCF RIA Services are available. Please refer to recipe Setting up a data solution to work with WCF RIA Services for more information.

We're starting from a provided starter solution, which you can find in Chapter 11\Using_LoadBehavior_Starter\.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint