Ejemplo n.º 1
0
 public virtual void RemoveDuplicates(IndicatorsContext context)
 {
     UFs.RemoveAll(it => context.UFs.Any(saved => it.Date == saved.Date));
     Dolars.RemoveAll(it => context.Dolars.Any(saved => it.Date == saved.Date));
     UTMs.RemoveAll(it => context.UTMs.Any(saved => it.Date == saved.Date));
     UTAs.RemoveAll(it => context.UTAs.Any(saved => it.Date == saved.Date));
     IPCPuntos.RemoveAll(it => context.IPCPuntos.Any(saved => it.Date == saved.Date));
     IPCs.RemoveAll(it => context.IPCs.Any(saved => it.Date == saved.Date));
     IPCAcumulado12UltimosMeses.RemoveAll(it => context.IPCAcumulados12Meses.Any(saved => it.Date == saved.Date));
     IPCAcumuladoDelAno.RemoveAll(it => context.IPCAcumuladoAnos.Any(saved => it.Date == saved.Date));
 }