Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Until recently my datasets only referenced a single table and all my code worked fine. But to aid the production of useful reports I ended up modifying my datasets to include multiple tables, which all seem OK.

 

The problem I have just discovered now is that all my code that previously works using the dataset method GetUpdateCommand now produces this error:

 

Dynamic SQL generation is not supported against multiple tables

 

Am I correct in assuming that I'm goning to have to create the update sql manually and use .ExecuteNonQuery?

My website
Posted

This is a big problem now!

 

If I use manual sql I loose the optimistic concurrency! Any ideas on how to implement this manually?

 

The way things were prior to changing the datasets ensured no data clashes!!

My website
  • 5 months later...
Posted

I obviously forgot about this and have now got caught out by it again:(

 

Does anyone know how to solve this problem?

My website

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...