Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected string cPROTOCOLO1 = "[" + "PROTOCOLO1" + "]";
- protected string cDOCS_PROTOCOLO1 = "[" + "DOCS_PROTOCOLO1" + "]";
- protected string cPROTOCOLO2 = "[" + "PROTOCOLO2" + "]";
- protected string cDOCS_PROTOCOLO2 = "[" + "DOCS_PROTOCOLO2" + "]";
- protected string cENTRE_OUTROS = "[" + "ENTRE_OUTROS" + "]";
- protected override DataTable criaESalvaArquivoCSV(List<IdentificationNumber> confirmadosParaReceber)
- {
- // colunas com nomes reservados:
- // FcDtec.DTEC_COLUNA_RESERVADA_ID_ORIGEM
- // FcDtec.DTEC_COLUNA_RESERVADA_ANEXO_1
- List<string> listaNomesColunas = new List<string>
- {
- cPROTOCOLO1,
- cDOCS_PROTOCOLO1,
- cPROTOCOLO2,
- cDOCS_PROTOCOLO2,
- cENTRE_OUTROS,
- FcDtec.DTEC_COLUNA_RESERVADA_ID_ORIGEM
- //,FcDtec.DTEC_COLUNA_RESERVADA_ANEXO_1 <-- Se tivesse roteiro padrão
- };
- // remove os caracteres "[" e "]"
- listaNomesColunas = listaNomesColunas.Select(s => s.Replace("]", String.Empty).Replace("]", String.Empty)).ToList();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement