/// <summary> /// Internal helper method to return the data in a View as a Data Table that can be added to /// a View Model in the public method. This dynamically generates SQL to query the table. /// </summary> /// <param name="viewID">The ID of the Staging Table to be queried</param> /// <returns></returns> private DataTable getViewDataDetailFromService(int viewID) { DataTable dt; GeographicalNeedsService.GeographicalNeedsServiceClient service = new GeographicalNeedsService.GeographicalNeedsServiceClient(); dt = service.GetViewData(viewID); return(dt); }
/// <summary> /// Internal helper method to return the data in a View as a Data Table that can be added to /// a View Model in the public method. This dynamically generates SQL to query the table. /// </summary> /// <param name="viewID">The ID of the Staging Table to be queried</param> /// <returns></returns> private DataTable getViewDataDetailFromService(int viewID) { DataTable dt; GeographicalNeedsService.GeographicalNeedsServiceClient service = new GeographicalNeedsService.GeographicalNeedsServiceClient(); dt = service.GetViewData(viewID); return dt; }