public void GetTemplateData() { Context = new ODMDataContext(new ODMEntities(), "Gibbonsbr"); List <Template> MyParm = Context.TemplateRepository.FindBy(x => true).ToList(); Assert.IsTrue(MyParm.Count() > 0); }
public void GetParmData() { Context = new ODMDataContext(new ODMEntities(), "Gibbonsbr"); //var MyParm = Context.PARMRepository.FindBy(x => x.PARM_NAME == "DIRECTORY").FirstOrDefault(); List <PARM> MyParm = Context.PARMRepository.FindBy(x => true).ToList(); //var MyParm = Context.PARMRepository.FindBy(x => x.PARM_NAME == "DIRECTORY") var p = new PARM(); }
public void TestClone() { Context = new ODMDataContext(new ODMEntities(), "Gibbonsbr"); List <DBA_DataPump_Jobs> jobs = Context.GetDBADataPumpJobs(); Template t = Context.TemplateRepository.FindBy(x => x.Id == "BF2F6931ED37458AAF897FC8EBAB37E7").FirstOrDefault(); Utility.CopyTemplate(t.Id, "test"); //Assert.IsTrue(Templates.Count() > 0); }
public void AddParm() { Context = new ODMDataContext(new ODMEntities(), "Gibbonsbr"); PARM p = new PARM(); //p.Id = new Guid().ToString(); p.ParmName = "TestParam"; Context.PARMRepository.Save(p); Context.Commit(); PARM getParm = Context.PARMRepository.FindBy(x => x.Id == p.Id).FirstOrDefault(); Assert.IsNotNull(getParm); }
public TemplateRepository(ODMDataContext context) : base(context) { }
public TemplateSchemaTableRepository(ODMDataContext context) : base(context) { }
public OraUtilityRepository(ODMDataContext context) : base(context) { }
public DATABASE_INFORepository(ODMDataContext context) : base(context) { }
public RemapFunctionRepository(ODMDataContext context) : base(context) { }
public PARMRepository(ODMDataContext context) : base(context) { }
public ODMSettingRepository(ODMDataContext context) : base(context) { }
public TemplateSchemaSanitizeRepository(ODMDataContext context) : base(context) { }