ObjectDataSource UpdateItem with DataObjectTypeName Original values required

M

Martin

Hi,

I'm using ObjectDataSource.UpdateItem with the configured object using a
value type to encapsulate all the datafields.

The update method in my object looks like
[DataObjectMethod(DataObjectMethodType.Update)]
public void UpdateDetails(DetailsItem pdi, DetailsItem original_pdi)
{
}

I get the error ObjectDataSource could not find a non-generic method ....

However if I change the method to

public void UpdateDetails(DetailsItem pdi)

It works. But obviously I want the original values to do concurrency
checking.

Anyone got a solution?



Thanks

Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top