コード例 #1
0
        /// <summary>
        /// Test methods exposed by the EntityHelper class.
        /// </summary>
        private void Step_20_TestEntityHelper_Generated()
        {
            using (TransactionManager tm = CreateTransaction())
            {
                mock = CreateMockInstance(tm);

                SalesOrderDetail entity = mock.Copy() as SalesOrderDetail;
                entity = (SalesOrderDetail)mock.Clone();
                Assert.IsTrue(SalesOrderDetail.ValueEquals(entity, mock), "Clone is not working");
            }
        }