Windows Azure Platform by Tejaswi Redkar & Tony Guidici

Windows Azure Platform by Tejaswi Redkar & Tony Guidici

Author:Tejaswi Redkar & Tony Guidici [Redkar, Tejaswi & Guidici, Tony]
Language: eng
Format: epub
Tags: Computers, Computer Science, General, Programming, Web, Microsoft Programming, Web Programming
ISBN: 9781430235637
Publisher: Apress
Published: 2011-11-30T05:00:00+00:00


Figure 5-14. Default.aspx in the ProAzureReaderTracker_WebRole web role for the Merge Entity operation

In Figure 5-14, you can update the ReaderUrl property of the ProAzureReader entity. The code for Merge Entity is in the UpdateUrl() method in the ProAzureReaderDataSource class, as shown in Listing 5-18.

Listing 5-18. UpdateUrl() Method

public void UpdateUrl(string PartitionKey, string RowKey, string url)

{

var results = from g in dContext.ProAzureReader

where g.PartitionKey == PartitionKey

&& g.RowKey == RowKey

select g;

var e = results.FirstOrDefault<ProAzureReader>();

e.ReaderUrl = url;



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.