I have a wrapper class that has a QuoteLineItem and a Product2, and that wrapper is a list. The wrapper is used in a quotelineitem editor, but I am not sure how i would update the objects. I tried something like this:
public void updateWrapper(){
update wrapper.wQli;
update wrapper.wProd;
}
but the error i get says I can't update a non-SObject. any idea how to go about this problem?