public void recv_fetch_proprietario(ref DadosProprietario dp) { DataPortable recv_dp_cont_dp = new DataPortable(); m_Comm.GetExitPortableAtPosition(0).GetMapContainer(COMM_OUT_FETCH_PROPRIETARIO.dp, ref recv_dp_cont_dp); dp.Import(recv_dp_cont_dp); }
public override bool setup( ) { #region - SETUP TRANSACTION - Registry("setup ins_cartaoProprietario "); if (var_Comm.GetEntryPortCount() == 0) { Trace("# Communication Failed!"); return(false); } DataPortable dp_in = var_Comm.GetFirstEntryPortable(); if (dp_in.GetMapValue(COMM_IN_INS_CARTAOPROPRIETARIO.st_csv_deps, ref input_st_csv_deps) == false) { Trace("# COMM_IN_INS_CARTAOPROPRIETARIO.st_csv_deps missing! "); return(false); } DataPortable ct_1 = new DataPortable(); DataPortable ct_2 = new DataPortable(); DataPortable ct_3 = new DataPortable(); DataPortable ct_4 = new DataPortable(); if (var_Comm.GetEntryPortableAtPosition(1).GetMapContainer(COMM_IN_INS_CARTAOPROPRIETARIO.dc, ref ct_1) == false) { Trace("# COMM_IN_INS_CARTAOPROPRIETARIO.dc missing! "); return(false); } if (var_Comm.GetEntryPortableAtPosition(2).GetMapContainer(COMM_IN_INS_CARTAOPROPRIETARIO.dp, ref ct_2) == false) { Trace("# COMM_IN_INS_CARTAOPROPRIETARIO.dp missing! "); return(false); } if (var_Comm.GetEntryPortableAtPosition(3).GetMapContainer(COMM_IN_INS_CARTAOPROPRIETARIO.da, ref ct_3) == false) { Trace("# COMM_IN_INS_CARTAOPROPRIETARIO.da missing! "); return(false); } if (var_Comm.GetEntryPortableAtPosition(4).GetMapContainer(COMM_IN_INS_CARTAOPROPRIETARIO.header, ref ct_4) == false) { Trace("# COMM_IN_INS_CARTAOPROPRIETARIO.header missing! "); return(false); } input_cont_dc.Import(ct_1); input_cont_dp.Import(ct_2); input_cont_da.Import(ct_3); input_cont_header.Import(ct_4); Registry("setup done ins_cartaoProprietario "); #endregion return(true); }
public override bool setup( ) { #region - SETUP TRANSACTION - Registry("setup exec_alteraProprietario "); if (var_Comm.GetEntryPortCount() == 0) { Trace("# Communication Failed!"); return(false); } DataPortable dp_in = var_Comm.GetFirstEntryPortable(); if (dp_in.GetMapValue(COMM_IN_EXEC_ALTERAPROPRIETARIO.st_cpf_cnpj, ref input_st_cpf_cnpj) == false) { Trace("# COMM_IN_EXEC_ALTERAPROPRIETARIO.st_cpf_cnpj missing! "); return(false); } DataPortable ct_1 = new DataPortable(); DataPortable ct_2 = new DataPortable(); if (var_Comm.GetEntryPortableAtPosition(1).GetMapContainer(COMM_IN_EXEC_ALTERAPROPRIETARIO.dp, ref ct_1) == false) { Trace("# COMM_IN_EXEC_ALTERAPROPRIETARIO.dp missing! "); return(false); } if (var_Comm.GetEntryPortableAtPosition(2).GetMapContainer(COMM_IN_EXEC_ALTERAPROPRIETARIO.header, ref ct_2) == false) { Trace("# COMM_IN_EXEC_ALTERAPROPRIETARIO.header missing! "); return(false); } input_cont_dp.Import(ct_1); input_cont_header.Import(ct_2); Registry("setup done exec_alteraProprietario "); #endregion return(true); }