public void Clone()
        {
            Orders order = new Orders();
            order.Customer_ID = "999999";
            order.Freight = new decimal(10.0);
            order.Order_Date = DateTime.Now;

             Orders copy =  Reflections.Clone<Orders>()(order);

             Assert.IsTrue(order.Order_Date==copy.Order_Date);
             Assert.IsFalse(order.GetHashCode() == copy.GetHashCode());
        }
        public void CopyPropertiesFunc()
        {
            Orders order = new Orders();
            order.Customer_ID = "999999";
            order.Freight = new decimal(10.0);
            order.Order_Date = DateTime.Now;

            Orders order1 = new Orders();

            Reflections.CopyPropertiesFunc1<Orders, Orders>()(order, order1);
            Assert.IsTrue(order1.Customer_ID == order.Customer_ID);

            order1 = new Orders();
            Reflections.CopyPropertiesFunc<Orders, Orders>()(order, order1);
            Assert.IsTrue(order1.Customer_ID == order.Customer_ID);
        }