Riccardo,
Unfortunately there is no way, directly from the OleDbCommandBuilder to
override this behavior. The only other mechanism that I can see to easily
provide your own UpdateCommand is to implement your own class/method and to
subscribe to the Row Updating/Updated events. From here you can specify
what update command should be used for this particular data row.
In Whidbey we've done some work to make this easier. If you're in the
Alpha or have Whidbey bits shoot me an email and I can provide more detail.
We have some bases classes you can inherit from to have the base behavior,
like Command Generation for CommandBuilder.
I'm interested in what you're going to be using this for. Are you writing
your own provider and only want to overide this behavior or is this for an
application where you have a specific requirement?
Thanks,
Carl
cperry@microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights.