Ejemplo n.º 1
0
            private void MergeDecisions()
            {
                var allData      = new List <Decisions>();
                var dataInProper = new List <Decisions>();

                for (int i = 0; i < databases.Length; i++)
                {
                    var l = Decisions.Read(this.databases[i]);
                    if (i == 0)
                    {
                        dataInProper = l;
                    }
                    allData.AddRange(l);
                }
                var toWrite = this.SubtractHashSet(new HashSet <Decisions>(allData), new HashSet <Decisions>(dataInProper));

                Decisions.Insert(this.proper, toWrite);
            }