Ejemplo n.º 1
0
        public void call_fetch_consultaAuditoria(ref DadosConsultaAuditoria dca, ref CNetHeader header)
        {
            m_Comm.Clear();

            DataPortable send_dp_cont_0 = new DataPortable();
            DataPortable send_dp_cont_1 = new DataPortable();

            send_dp_cont_0.MapTagContainer(COMM_IN_FETCH_CONSULTAAUDITORIA.dca, dca as DataPortable);
            send_dp_cont_1.MapTagContainer(COMM_IN_FETCH_CONSULTAAUDITORIA.header, header as DataPortable);

            m_Comm.AddEntryPortable(ref send_dp_cont_0);
            m_Comm.AddEntryPortable(ref send_dp_cont_1);
        }
Ejemplo n.º 2
0
/// USER [ custom_functions ]
/// USER [ custom_functions ] END

        public bool Item1()
        {
            #region - INPUT VARS -

            transaction.MemoryClean();

            tst_unit.LogTest("fetch_consultaAuditoria Item1", ref m_Log);

            transaction.ut_abort = 0;

            DadosConsultaAuditoria dca    = new DadosConsultaAuditoria();
            CNetHeader             header = new CNetHeader();

            #endregion

/// USER [ setup_test_1 ]
/// USER [ setup_test_1 ] END

            #region - MAPPING TRANSACTION -

            call_fetch_consultaAuditoria(ref dca, ref header);

            if (transaction.setup() == false)
            {
                return(false);
            }

            try
            {
                #endregion

/// USER [ execute_1 ]
/// USER [ execute_1 ] END

                #region - OUTPUT VARS -
            }
            catch (System.Exception se)
            {
                if (se.Message != "ABORT")
                {
                    MessageBox.Show(se.ToString());
                }
            }

            if (transaction.finish() == false)
            {
                return(false);
            }

            string st_csv_audit = "";

            recv_fetch_consultaAuditoria(ref st_csv_audit);

            transaction.sendObjections(ref my_objections);

            #endregion

/// USER [ validate_1 ]
/// USER [ validate_1 ] END

            return(true);
        }