Posts by Raphael Vilvert • 26 points
1 post
-
1
votes1
answer69
viewsA: Subtract the current value from the previous one
First step is to adjust your query: public IList<Veiculo> ConsultaVeiculo(int Ncarro) { string hql = "SELECT v FROM Veiculo v"; IQuery query = session.CreateQuery(hql);…