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

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