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

            foreach (XmlNode xmlSF_PledgeSignatures in xmlSF_PledgeSignaturess.SelectNodes("SF_PledgeSignatures"))
            {
                SF_PledgeSignaturesInfo objSF_PledgeSignatures = new SF_PledgeSignaturesInfo();

                objSF_PledgeSignatures.ModuleId      = ModuleID;
                objSF_PledgeSignatures.Content       = xmlSF_PledgeSignatures.SelectSingleNode("content").InnerText;
                objSF_PledgeSignatures.CreatedByUser = UserId;
                AddSF_PledgeSignatures(objSF_PledgeSignatures);
            }
        }