Exemple #1
0
        public static void TestMethodModelMapper(int i)
        {
            var ormProductBasicModifyInfo = GetORMProductBasicModifyInfo(i);

            if (i % 2 == 0)
            {
                result6 = ormProductBasicModifyInfo.MapTo <ORM_ProductBasicModifyInfo, ProductBasicModifyModelCopy>();
            }
            else
            {
                result5 = ormProductBasicModifyInfo.MapTo <ORM_ProductBasicModifyInfo, ProductBasicModifyModel>();
            }
        }
Exemple #2
0
        public static void TestMethodModelClone(int i)
        {
            var ormProductBasicModifyInfo = GetORMProductBasicModifyInfo(i);

            if (i % 2 == 0)
            {
                result4 =
                    ModelClone <ORM_ProductBasicModifyInfo, ProductBasicModifyModelCopy>
                    .Clone(ormProductBasicModifyInfo);
            }
            else
            {
                result1 =
                    ModelClone <ORM_ProductBasicModifyInfo, ProductBasicModifyModel> .Clone(ormProductBasicModifyInfo);
            }
        }