Subsonic 3.0.0.3 doesent seems to update the database
im using subsonic 3.0.0.3 activerecord and everything is fine and i dont get any error but when i update the database it never seems to be real, can anyone notice something that i am missing here? ! that
code:
var myquote = createNewQuote();
var gross = 36.00;
myquote.totalcost = gross; // set the new value in my model
UpdateModel(myquote); // update the model, something to do with dirty columns??
if(ModelState.IsValid) // check to make sure i have no errors in my model after changing it
myquote.Update(); // command that is supposed to update the database????
I put a breakpoint on UpdateModel and looked into the model and the value is in the model as instructed, I get no error and the modelstate is also valid, but when I look into the database, the totalcost is not actually changed for that record ????
I also tried .Save () but that doesn't seem to change anything either ?????
I'm a little bit puzzled
+2
source to share