1
I made a Burst and it is not working concatenation and renaming it. See:
var monta_arvore = (from rup in db.Ruptura
from apr in db.Apresentacao.Where(ap => ap.Codigo_Apresentacao == rup.Codigo_Apresentacao)
from pdv in db.PDV.Where(p => p.CodigoPDV == rup.CodigoPDV)
from mot in db.Motivo.Where(m => m.IDMotivo == rup.IDMotivo)
select new {
rup.IDRuptura,
rup.DataRuptura,
rup.IDMotivo,
mot.Motivo1,
rup.IDOrigem,
rup.CodigoPDV,
pdv.UF,
pdv.Cidade,
pdv.Cnpj + " - " + pdv.Descricao as PDV,==>> Erro aqui
rup.Codigo_Apresentacao,
apr.Unidade_Negocio,
apr.Franquia,
apr.Descricao}).ToList().Distinct();
I think this is it: store = pdv. Cnpj + " - " + pdv.Description
– pnet