Format:
Recent snippets matching tags of Azure
void DoQuery() { // Register for the LoadCompleted event. var _Data = new DataServiceCollection<CityCrime>(); _Data.LoadCompleted += _Data_LoadCompleted; // start the servery query var _Query = GetContext().CityCrime .Where(x => x.State == "Colorado") .Where(x => x.City == "Denver");
138 Views
no comments
// https://datamarket.azure.com/ private const string AZUREDATAACCOUNT = "Your Customer ID"; private const string AZUREDATAKEY = "Your Account Key"; private const string AZUREDATAURL = "https://api.datamarket.azure.com/Data.ashx/data.gov/Crimes/"; // create a new context to the odata feed private static Mango.Sample.AzureMarket .CityCrimeService.datagovCrimesContainer GetContext() {
115 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
