public Int64 Update(Customer_orderproducts objorderproducts)
        {
            Int64 result = 0;

            try
            {
                Cls_Customer_orderproducts_db objCls_orderproducts_db = new Cls_Customer_orderproducts_db();

                result = Convert.ToInt64(objCls_orderproducts_db.Update(objorderproducts));
                return(result);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
        public Customer_orderproducts SelectById(Int64 opid)
        {
            Customer_orderproducts objorderproducts = new Customer_orderproducts();

            try
            {
                Cls_Customer_orderproducts_db objCls_orderproducts_db = new Cls_Customer_orderproducts_db();

                objorderproducts = objCls_orderproducts_db.SelectById(opid);
                return(objorderproducts);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(objorderproducts);
            }
        }