Example #1
0
        /// <summary>
        /// Deletes this product from the database
        /// </summary>
        /// <returns><b>true</b> if delete is successful, <b>false</b> otherwise</returns>
        public bool Delete()
        {
            //DELETE ALL CHILD DATA THAT MAY NOT BE HANDLED BY CASCADE DELETES
            ProductDataSource.DeleteChildData(this);

            //CALL THE BASE DELETE METHOD
            return(this.BaseDelete());
        }