/// <summary> Adds an aggregation, if it doesn't exist </summary>
        /// <param name="Code">Aggregation code to add</param>
        /// <param name="Name">Aggregation name to add</param>
        /// <param name="Type">Aggregation type</param>
        /// <remarks>This parses the aggregation string for spaces, commas, and semicolons.</remarks>
        public void Add_Aggregation(string Code, string Name, string Type)
        {
            if (Code.Length > 0)
            {
                if (aggregations == null)
                    aggregations = new List<Aggregation_Info>();

                // Create this aggregation object
                Aggregation_Info newAggregation = new Aggregation_Info(Code.Trim().ToUpper(), Name) {Type = Type};

                // If this doesn't exist, add it
                if (!aggregations.Contains(newAggregation))
                    aggregations.Add(newAggregation);
            }
        }
        /// <summary> Adds an aggregation, if it doesn't exist </summary>
        /// <param name="Code">Aggregation code to add</param>
        /// <remarks>This parses the aggregation string for spaces, commas, and semicolons.</remarks>
        public void Add_Aggregation(string Code)
        {
            if (Code.Length > 0)
            {
                string[] splitAggregations = Code.Split(" ,;".ToCharArray());
                foreach (string thisAggregations in splitAggregations)
                {
                    if (thisAggregations.Trim().Length > 0)
                    {
                        if (aggregations == null)
                            aggregations = new List<Aggregation_Info>();

                        // Create this aggregation object
                        Aggregation_Info newAggregation = new Aggregation_Info(Code.Trim().ToUpper(), String.Empty);

                        // If this doesn't exist, add it
                        if (!aggregations.Contains(newAggregation))
                            aggregations.Add(newAggregation);
                    }
                }
            }
        }