コード例 #1
0
        public static Prz CreateNew(int depth = 0)
        {
            rt.atl.model.atl.Prz entity = new rt.atl.model.atl.Prz();


            entity.Dedit    = System.DateTime.Now;
            entity.Caption  = "Test Test Test Test Test Test Test Test Test Te";
            entity.Code     = "123";
            entity.Fullname = "Test Test ";
            entity.Ogrn     = "Test Test ";
            entity.Bossname = "Test Test Tes";
            entity.Buhname  = "Test Test Test Test Test ";
            entity.Email    = "Test Test Test Test Test Test Test Tes";
            entity.Tel1     = "Test Test ";
            entity.Tel2     = "Test Test ";
            entity.Addr     = "Test Test ";
            entity.Okato    = "Test ";
            entity.Extcode  = "Test ";
            entity.Main     = true;

            using (rt.atl.business.manager.ISmoManager smoManager = ObjectFactory.GetInstance <ISmoManager>())
            {
                entity.SMO = null;
            }

            return(entity);
        }
コード例 #2
0
        public static Vsdiap CreateNew(int depth = 0)
        {
            rt.atl.model.atl.Vsdiap entity = new rt.atl.model.atl.Vsdiap();


            entity.Dedit = System.DateTime.Now;
            entity.Lo    = 44;
            entity.Hi    = 92;

            using (rt.atl.business.manager.ISmoManager smoManager = ObjectFactory.GetInstance <ISmoManager>())
            {
                entity.SMO = null;
            }

            return(entity);
        }