public void Insert(string CategoryName,string Description,byte[] Picture)
        {
            Category item = new Category();

            item.CategoryName = CategoryName;

            item.Description = Description;

            item.Picture = Picture;

            item.Save(UserName);
        }
        public void Update(int CategoryID,string CategoryName,string Description,byte[] Picture)
        {
            Category item = new Category();
            item.MarkOld();
            item.IsLoaded = true;

            item.CategoryID = CategoryID;

            item.CategoryName = CategoryName;

            item.Description = Description;

            item.Picture = Picture;

            item.Save(UserName);
        }