I am making a insert
and I use a model
with the Getters
and Setters
, when I do the insert
in the values I get the model
as a parameter and use the following way
sql = "INSERT INTO " + Table + "(" + campos + ") VALUES ('"+valores.nome+ "','" + valores.email + "', " + valores.cpf + ", " + valores.tel + ");";
Would I have to pass the Dynamic Values by taking it from model
?