public void CopyProperties(FIA_Biosum_Manager.SQLMacroSubstitutionVariableItem p_oVarSubItemSource, ref FIA_Biosum_Manager.SQLMacroSubstitutionVariableItem p_oVarSubItemDestination)
 {
     p_oVarSubItemDestination.Index            = p_oVarSubItemSource.Index;
     p_oVarSubItemDestination.Description      = p_oVarSubItemSource.Description;
     p_oVarSubItemDestination.PropertyGridName = p_oVarSubItemSource.PropertyGridName;
     p_oVarSubItemDestination.SQLVariableSubstitutionString = p_oVarSubItemSource.SQLVariableSubstitutionString;
     p_oVarSubItemDestination.VariableName = p_oVarSubItemSource.VariableName;
 }
        public void Add(FIA_Biosum_Manager.SQLMacroSubstitutionVariableItem m_PropertiesSQLMacroSubstitutionVariableItem)
        {
            // vérify if object is not already in
            if (this.List.Contains(m_PropertiesSQLMacroSubstitutionVariableItem))
            {
                throw new InvalidOperationException();
            }

            // adding it
            this.List.Add(m_PropertiesSQLMacroSubstitutionVariableItem);

            // return collection
            //return this;
        }