Пример #1
0
        public DataTable Retornar_Estrutura_Tabela()
        {
            try
            {
                Sitef_StatusDATA datSitefStatus = new Sitef_StatusDATA();

                return(datSitefStatus.Retornar_Estrutura_Tabela());
            }
            catch (Exception)
            {
                throw;
            }
        }
Пример #2
0
        public DataTable Consultar_DataTable(ref TransactionManager objTransaction)
        {
            try
            {
                Sitef_StatusDATA datSitefStatus = new Sitef_StatusDATA();

                return(datSitefStatus.Consultar_DataTable(ref objTransaction));
            }
            catch (Exception)
            {
                throw;
            }
        }
Пример #3
0
        public DataRow Selecionar_Por_Loja(int intLojasID, ref TransactionManager objTransaction)
        {
            try
            {
                Sitef_StatusDATA datSitefStatus = new Sitef_StatusDATA();

                return(datSitefStatus.Selecionar_Por_Loja(intLojasID, ref objTransaction));
            }
            catch (Exception)
            {
                throw;
            }
        }
Пример #4
0
        public DataRow Selecionar(String strSitefStatusID, ref TransactionManager objTransaction)
        {
            try
            {
                Sitef_StatusDATA datSitefStatus = new Sitef_StatusDATA();

                return(datSitefStatus.Selecionar(strSitefStatusID, ref objTransaction));
            }
            catch (Exception)
            {
                throw;
            }
        }
Пример #5
0
        public bool Excluir(String strSitefStatusID, ref TransactionManager objTransaction)
        {
            try
            {
                Sitef_StatusDATA datSitefStatus = new Sitef_StatusDATA();

                datSitefStatus.Excluir(strSitefStatusID, ref objTransaction);

                return(true);
            }
            catch (Exception)
            {
                throw;
            }
        }
Пример #6
0
        public void Incluir(DataRow dtrIncluir, ref TransactionManager objTransaction)
        {
            try
            {
                Sitef_StatusDATA datSitefStatus = new Sitef_StatusDATA();
                Erro             objErro        = new Erro();

                datSitefStatus.Incluir(dtrIncluir, objErro, ref objTransaction);
                if (objErro.TemErro())
                {
                    throw new McException(objErro);
                }
            }
            catch (Exception)
            {
                throw;
            }
        }
Пример #7
0
        public bool Alterar(DataRow dtrAlterar, ref TransactionManager objTransaction)
        {
            try
            {
                Sitef_StatusDATA datSitefStatus = new Sitef_StatusDATA();
                Erro             objErro        = new Erro();

                datSitefStatus.Alterar(dtrAlterar, objErro, ref objTransaction);

                if (objErro.TemErro())
                {
                    throw new McException(objErro);
                }

                return(true);
            }
            catch (Exception)
            {
                throw;
            }
        }