예제 #1
0
        public int SelecionaUltimoID()
        {
            int id = 0;

            try
            {
                oServicoDAO = new ServicoDAO();
                id          = oServicoDAO.GetUltimoID();
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                oServicoDAO = null;
            }

            return(id);
        }