Exemplo n.º 1
0
        public Int64 Update(Customer_orders objorders)
        {
            Int64 result = 0;

            try
            {
                Cls_Customer_order_db objCls_orders_db = new Cls_Customer_order_db();

                result = Convert.ToInt64(objCls_orders_db.Update(objorders));
                return(result);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
Exemplo n.º 2
0
        public Customer_orders SelectById(Int64 oid)
        {
            Customer_orders objorders = new Customer_orders();

            try
            {
                Cls_Customer_order_db objCls_orders_db = new Cls_Customer_order_db();

                objorders = objCls_orders_db.SelectById(oid);
                return(objorders);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(objorders);
            }
        }