public void TestEntityCollectionMerge()
        {
            EntityCollection<TestEntity> collection = new EntityCollection<TestEntity>();
            TestEntity lead = new TestEntity();
            lead.Id = 1000;
            collection.Add(lead);

            EntityCollection<TestEntity> otherCollection = new EntityCollection<TestEntity>();
            TestEntity otherLead = new TestEntity();
            otherLead.Id = 2000;
            otherCollection.Add(otherLead);

            collection.Merge(otherCollection);

            foreach (TestEntity tempLead in collection)
            {
                Console.WriteLine("Lead: " + tempLead.Id);
            }
        }