public void SaveFormulaListToGroup(List <EtyFormula> formulaList, string grpName)
        {
            FormulaerDAO formulaDAO = new FormulaerDAO();

            //do it in a transaction:
            formulaDAO.SaveFormulaListToGrp(formulaList, grpName);

            //formulaDAO.DeleteAllFormulaInGrp(grpName);
            //formulaDAO.InsertFormulaListToGrp(formulaList, grpName);
        }
示例#2
0
        public void TestCreateFormulaerDAO01()
        {
            FormulaerDAO formulaerDAO = CreateFormulaerDAO01();

            Assert.IsNotNull(formulaerDAO);
        }
示例#3
0
        public static FormulaerDAO CreateFormulaerDAO01()
        {
            FormulaerDAO formulaerDAO = new FormulaerDAO();

            return(formulaerDAO);
        }
        public List <EtyFormula> GetFormulaListByGrp(string grpName)
        {
            FormulaerDAO formulaDAO = new FormulaerDAO();

            return(formulaDAO.GetFormulasByCfgName(grpName));
        }
        public List <string> GetAllFormulaGrp()
        {
            FormulaerDAO formulaDAO = new FormulaerDAO();;

            return(formulaDAO.GetAllformulaGrpNames());
        }
示例#6
0
 public void FixtureSetUp()
 {
     formulaerDAO = new FormulaerDAO();
     TestDBInit.openConn();
 }