/// <summary>
        /// Removes class from list by primary key
        /// </summary>
        public bool Remove(int id)
        {
            bool result = false;
            BlogCategoryPrimaryKey key = new BlogCategoryPrimaryKey();

            key.Id = id;

            if (m_Items.ContainsKey(key))
            {
                result = Remove(m_Items[key]);
            }
            return(result);
        }
        /// <summary>
        /// Finds class by primary key
        /// </summary>
        public BlogCategory Find(int id)
        {
            BlogCategory           result = null;
            BlogCategoryPrimaryKey key    = new BlogCategoryPrimaryKey();

            key.Id = id;

            if (m_Items.ContainsKey(key))
            {
                result = m_Items[key];
            }
            return(result);
        }
        /// <summary>
        /// Finds class by primary key
        /// </summary>
        public BlogCategory Find(int id)
        {
            BlogCategory           result = null;
            BlogCategoryPrimaryKey key    = new BlogCategoryPrimaryKey();

            key.Id = id;


            // Loop through our list until we find the match
            foreach (BlogCategory item in m_Items)
            {
                if (item.PrimaryKey.CompareTo(key) == 0)
                {
                    result = item;
                    break;
                }
            }

            return(result);
        }
        /// <summary>
        /// Removes class from list by primary key values
        /// </summary>
        public bool Remove(int id)
        {
            bool result = false;
            BlogCategoryPrimaryKey key = new BlogCategoryPrimaryKey();

            key.Id = id;


            // Loop through our list until we find the match
            for (int i = 0; i < m_Items.Count; i++)
            {
                if (m_Items[i].PrimaryKey.CompareTo(key) == 0)
                {
                    m_Items.RemoveAt(i);
                    result = true;
                    break;
                }
            }

            return(result);
        }