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); }
public void TestCreateFormulaerDAO01() { FormulaerDAO formulaerDAO = CreateFormulaerDAO01(); Assert.IsNotNull(formulaerDAO); }
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()); }
public void FixtureSetUp() { formulaerDAO = new FormulaerDAO(); TestDBInit.openConn(); }