views:

34

answers:

0

Could someone tell me, why static Update() method doesn't work with MySQL ?

Product.Update(5 ,"ProdName", 12.99); // Record is not updated, Why?

SubSonic ver 2.2

However, the method below is updating OK.

Product p = Product.FetchByID(5);
p.Name = "ProdName";
p.Price = 12.99;
p.Save();

Thank you.