Example #1
0
        /// <summary>
        /// Removes the like. (dvs 2009-05-07)
        /// Using for delete control properties, when remove control from dashboard
        /// </summary>
        /// <param name="Name">The name.</param>
        public void RemoveLike(string Name)
        {
            using (DbTransaction tran = DbTransaction.Begin())
            {
                DBUser.RemovePropertyLike(m_UserID, Name);
                foreach (string key in m_properties.Keys)
                {
                    if (key.Contains(Name))
                    {
                        m_properties.Remove(key);
                    }
                }

                tran.Commit();
            }
        }