public void InsertResultUnit(ResultUnitModel r) { string query = $@" insert into ResultUnits(IdOrderedTests, IdResult, Value) values({r.IdOrderedTest},{r.IdResult},{BaseDAO.SetNullableDouble(r.Value)}); "; BaseDAO.InsertOrUpdate(query, false); }
public void InsertResultUnit(ResultUnitModel r) { string query = $@" insert into ResultUnits(IdOrderedTests, IdResult, Value) values({r.IdOrderedTest},{r.IdResult},{BaseDAO.SetNullableDouble(r.Value)}); "; BaseDAO.InsertOrUpdate(query, false); }