Exemple #1
0
        public static void Delete(Product id, string cnString)
        {
            ProdcuctDB db = new ProdcuctDB(cnString);

            db.Delete((IBaseProps)id);
        }
Exemple #2
0
        /// <summary>
        /// Deletes the customer identified by the id.
        /// </summary>
        public static void Delete(Product id)
        {
            ProdcuctDB db = new ProdcuctDB();

            db.Delete((IBaseProps)id);
        }