first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

OData C# Code: An Example of Getting Scalar Data Asynchronously

var odataContext = new DataServiceContext(this._odataLink); odataContext.BeginExecute<long>(new Uri("./CustomerCount", UriKind.Relative), new AsyncCallback( (result) => { if(!result.IsCompleted) return; this.ListCustomersCount = odataContext.EndExecute<long>(result).FirstOrDefault(); this.ListCustomersQuery(pageNumber); }), null);

mod date: 2010-04-30T23:09:24.000Z