This question is locked. New answers and comments are not allowed.
The story goes like that.
I follow the "best practices" in the documentation about manage the context.
In my app I get a list of 10 records, the I show those record in a gridview and store the records that I get from the database in the Session for later use.
The user then select a couple of records in the gridview and press a button, the button click fired a couple of update in the selected record, then I call my service layer and send the list of selected record for update. In the service layer I do the update but DA is doing a insert.
I try everything, I look up in the documentation, but nothing.
Could please anyone drop me a couple of line pointing me in the right direction.
Thank you.
I follow the "best practices" in the documentation about manage the context.
In my app I get a list of 10 records, the I show those record in a gridview and store the records that I get from the database in the Session for later use.
The user then select a couple of records in the gridview and press a button, the button click fired a couple of update in the selected record, then I call my service layer and send the list of selected record for update. In the service layer I do the update but DA is doing a insert.
I try everything, I look up in the documentation, but nothing.
Could please anyone drop me a couple of line pointing me in the right direction.
Thank you.