Example #1
0
 public void Acc_ETL_CloneCollection()
 {
     ProductCollection coll = new ProductCollection().Where("CategoryID", 1);
     coll.Load();
     ProductCollection coll2 = new ProductCollection();
     coll2.AddRange(coll.Clone());
     Assert.IsTrue(coll.Count == coll2.Count);
 }
Example #2
0
        public void ETL_CloneCollection()
        {
            ProductCollection coll = new ProductCollection().Where("CategoryID", 1);

            coll.Load();
            ProductCollection coll2 = new ProductCollection();

            coll2.AddRange(coll.Clone());
            Assert.IsTrue(coll.Count == coll2.Count);
        }