public static Uec CreateNew(int depth = 0) { rt.atl.model.atl.Uec entity = new rt.atl.model.atl.Uec(); entity.Ncard = "Test Te"; entity.Ufile = null; using (rt.atl.business.manager.IpersonManager personManager = ObjectFactory.GetInstance <IpersonManager>()) { entity.P = null; } using (rt.atl.business.manager.IPoliManager poliManager = ObjectFactory.GetInstance <IPoliManager>()) { entity.POLIS = null; } using (rt.atl.business.manager.IUechiststatusManager uechiststatusManager = ObjectFactory.GetInstance <IUechiststatusManager>()) { entity.UECLASTSTATUS = null; } return(entity); }
public static Poli CreateNew(int depth = 0) { rt.atl.model.atl.Poli entity = new rt.atl.model.atl.Poli(); entity.Dedit = System.DateTime.Now; entity.Q = "Te"; entity.Prz = "Test T"; entity.Dbeg = System.DateTime.Now; entity.Dend = System.DateTime.Now; entity.Poltp = 71; entity.Okato = "Test Test "; entity.Spol = "Test "; entity.Npol = "Test"; entity.Qogrn = "Test Test Te"; entity.Dstop = System.DateTime.Now; entity.St = 2; entity.Del = true; entity.Rstop = 2; entity.Nvs = "Tes"; entity.Dvs = System.DateTime.Now; entity.Et = System.DateTime.Now; entity.Dz = System.DateTime.Now; entity.Dp = System.DateTime.Now; entity.Dh = System.DateTime.Now; entity.Err = "Test Test "; entity.Polvid = 85; entity.Oldpid = 45; entity.Sout = System.DateTime.Now; entity.M2id = 33; entity.DstopCs = System.DateTime.Now; entity.Unload = System.DateTime.Now; using (rt.atl.business.manager.IpersonManager personManager = ObjectFactory.GetInstance <IpersonManager>()) { entity.P = null; } return(entity); }