public void AddReportLocationInputTable(System.Data.DataSet dataSet, string tableName, ReportRequestInputs inputs)
        {
            Log.DebugFormat("AddReportLocationInputTable {0}", tableName);
            if (dataSet.Tables.Contains(tableName))
            {
                return;
            }

            DataTable table = new DataTable(tableName);

            dataSet.Tables.Add(table);
            table.Columns.Add("Name", typeof(string));
            table.Columns.Add("Identifier", typeof(string));

            if ((inputs == null) || (inputs.LocationInput == null))
            {
                return;
            }

            System.Data.DataRow        row           = table.NewRow();
            LocationReportRequestInput locationInput = inputs.LocationInput;

            row["Name"]       = locationInput.Name;
            row["Identifier"] = locationInput.Identifier;
            table.Rows.Add(row);
        }
        public void AddLocationInputDataTable(DataSet dataSet, LocationReportRequestInput locationInput)
        {
            string tableName = "InputLocation";

            if (dataSet.Tables.Contains(tableName))
            {
                return;
            }

            if (locationInput == null)
            {
                return;
            }
            AddLocationDataTables(dataSet, tableName, locationInput.Identifier);
        }