public void SaveDPListToGroup(List <EtyDataPoint> dpList, string grpName) { DataPointDAO dpDAO = new DataPointDAO(); //do this as a transaction: dpDAO.SaveDPListToGrp(dpList, grpName); // dpDAO.DeleteAllDPInGrp(grpName); // dpDAO.InsertDPListToGrp(dpList, grpName); }
public List <EtyDataPoint> GetDPListByGrp(string grpName) { DataPointDAO dpDAO = new DataPointDAO(); return(dpDAO.GetDPByCfgName(grpName)); }
public void TestCreateDataPointDAO01() { DataPointDAO dataPointDAO = CreateDataPointDAO01(); Assert.IsNotNull(dataPointDAO); }
public static DataPointDAO CreateDataPointDAO01() { DataPointDAO dataPointDAO = new DataPointDAO(); return(dataPointDAO); }
public void TestDataPointDAOConstructor01() { DataPointDAO dataPointDAO = new DataPointDAO(); }
public void FixtureSetUp() { dataPointDao = new DataPointDAO(); TestDBInit.openConn(); }
public List <string> GetAllDPGrp() { DataPointDAO markerDAO = new DataPointDAO();; return(markerDAO.GetAllDPGrpNames()); }