コード例 #1
0
        public Int64 Update(deliveryboyMaster objdeliveryboyMaster)
        {
            Int64 result = 0;

            try
            {
                Cls_deliveryboy_db objCls_deliveryboy_db = new Cls_deliveryboy_db();

                result = Convert.ToInt64(objCls_deliveryboy_db.Update(objdeliveryboyMaster));
                return(result);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
コード例 #2
0
        public deliveryboyMaster  SelectById(Int64 id)
        {
            deliveryboyMaster objdeliveryboyMaster = new deliveryboyMaster();

            try
            {
                Cls_deliveryboy_db objCls_deliveryboy_db = new Cls_deliveryboy_db();

                objdeliveryboyMaster = objCls_deliveryboy_db.SelectById(id);
                return(objdeliveryboyMaster);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(objdeliveryboyMaster);
            }
        }