public static IList<SalesByProvinceSummary> GetSalesByState( string countryCode, DateTime startDate, DateTime endDate, int maximumRows, int startRowIndex, string sortExpression )
Parameters
- countryCode
- desired country code
- startDate
- desired starting date
- endDate
- desired ending date (includes entire day)
- maximumRows
- Maximum number of rows to retrieve
- startRowIndex
- Starting index from where to start retrieving
- sortExpression
- Sort expression to use for sorting the loaded objects
Return Value
Returns TOP 10 sales by grouped by CountryCode, State