/// -----------------------------------------------------------------------------
 /// <summary>
 /// adds an object to the database
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <param name="objSF_DonationsList">The SF_DonationsListInfo object</param>
 /// <history>
 /// </history>
 /// -----------------------------------------------------------------------------
 public void AddSF_DonationsList(SF_DonationsListInfo objSF_DonationsList)
 {
     if (objSF_DonationsList.Content.Trim() != "")
     {
         DataProvider.Instance().AddSF_DonationsList(objSF_DonationsList.ModuleId, objSF_DonationsList.Content, objSF_DonationsList.CreatedByUser);
     }
 }
        /// -----------------------------------------------------------------------------
        /// <summary>
        /// ImportModule implements the IPortable ImportModule Interface
        /// </summary>
        /// <remarks>
        /// </remarks>
        /// <param name="ModuleID">The Id of the module to be imported</param>
        /// <param name="Content">The content to be imported</param>
        /// <param name="Version">The version of the module to be imported</param>
        /// <param name="UserId">The Id of the user performing the import</param>
        /// <history>
        /// </history>
        /// -----------------------------------------------------------------------------
        public void ImportModule(int ModuleID, string Content, string Version, int UserId)
        {
            XmlNode xmlSF_DonationsLists = Globals.GetContent(Content, "SF_DonationsLists");

            foreach (XmlNode xmlSF_DonationsList in xmlSF_DonationsLists.SelectNodes("SF_DonationsList"))
            {
                SF_DonationsListInfo objSF_DonationsList = new SF_DonationsListInfo();

                objSF_DonationsList.ModuleId      = ModuleID;
                objSF_DonationsList.Content       = xmlSF_DonationsList.SelectSingleNode("content").InnerText;
                objSF_DonationsList.CreatedByUser = UserId;
                AddSF_DonationsList(objSF_DonationsList);
            }
        }