Return to Snippet

Revision: 43331
at March 22, 2011 05:41 by garnold


Initial Code
var service = new SDataService("http://localhost/sdata/slx/dynamic/-/", "admin", "");
var request = new SDataResourceCollectionRequest(service)
        {
            ResourceKind = "contacts",
            Count = 0
        };
var entry = request.Read();
var total = entry.GetOpenSearchTotalResults();

Initial URL


Initial Description


Initial Title
Getting a record count with SData

Initial Tags


Initial Language
C#