/// -----------------------------------------------------------------------------
 /// <summary>
 /// adds an object to the database
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <param name="objSF_ManageDonations">The SF_ManageDonationsInfo object</param>
 /// <history>
 /// </history>
 /// -----------------------------------------------------------------------------
 public void AddSF_ManageDonations(SF_ManageDonationsInfo objSF_ManageDonations)
 {
     if (objSF_ManageDonations.Content.Trim() != "")
     {
         DataProvider.Instance().AddSF_ManageDonations(objSF_ManageDonations.ModuleId, objSF_ManageDonations.Content, objSF_ManageDonations.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_ManageDonationss = Globals.GetContent(Content, "SF_ManageDonationss");

            foreach (XmlNode xmlSF_ManageDonations in xmlSF_ManageDonationss.SelectNodes("SF_ManageDonations"))
            {
                SF_ManageDonationsInfo objSF_ManageDonations = new SF_ManageDonationsInfo();

                objSF_ManageDonations.ModuleId      = ModuleID;
                objSF_ManageDonations.Content       = xmlSF_ManageDonations.SelectSingleNode("content").InnerText;
                objSF_ManageDonations.CreatedByUser = UserId;
                AddSF_ManageDonations(objSF_ManageDonations);
            }
        }