Hi. I'm using subsonic 3.0.0.3 (active record) quite a simple database really, have trusted in its abilities but i am really getting let down by how incredibly slow it it to do anything.
For some reason it likes to run through things more than once. For example:
var newitem = new new_quote_item
{
quote_id = Convert.ToInt32(newQuoteID),
isextra = true,
qty = qty,
measureX = 0,
measureY = 0,
prodid = Convert.ToInt32(prodid)
};
newitem.Save();
// claculate price and add to total
var iteminfo = extra.SingleOrDefault(x => x.id == Convert.ToInt32(prodid));
that will run twice, but inside extra ( the subsonic classes) this can be 3 or 4 loops, really should it be able to create this class once? Why does it have to be initialized, then initialized all over again.
Has anyone had this kind of trouble before? It shouldn't take 20 mins to get back a simple quote.
Thanks