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

            foreach (XmlNode xmlSF_AdminUserDetails in xmlSF_AdminUserDetailss.SelectNodes("SF_AdminUserDetails"))
            {
                SF_AdminUserDetailsInfo objSF_AdminUserDetails = new SF_AdminUserDetailsInfo();

                objSF_AdminUserDetails.ModuleId      = ModuleID;
                objSF_AdminUserDetails.Content       = xmlSF_AdminUserDetails.SelectSingleNode("content").InnerText;
                objSF_AdminUserDetails.CreatedByUser = UserId;
                AddSF_AdminUserDetails(objSF_AdminUserDetails);
            }
        }