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

            try
            {
                Cls_employeewages_db objCls_employeewages_db = new Cls_employeewages_db();
                result = Convert.ToInt64(objCls_employeewages_db.Update(objcategory));
                return(result);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
コード例 #2
0
        public employeewagesMaster SelectById(Int64 cid)
        {
            employeewagesMaster objcategory = new employeewagesMaster();

            try
            {
                Cls_employeewages_db objCls_employeewages_db = new Cls_employeewages_db();
                objcategory = objCls_employeewages_db.SelectById(cid);
                return(objcategory);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(objcategory);
            }
        }