Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Saving Datasets With BizObjs
Hi
I'm having a problem saving a dataset via a biz object. I am trying to save the data to SQL Server.
My business object appears to be working fine in all other ways except in this case. The difference in this case is that the business object was not responsible for retrieving the data contained in the dataset.
The data is coming from a web service (structurely, exactly the same). My code is creating a dataset, filling it with the XML data as returned from the Web Service and I am then attempting to save it via my biz obj.
I have traced the problem through the mmDataAccessBase.CreateUpdateSelectCommand(), where it is attempting to look for the Select command in the ExtendedProperties of the dataset. It appears to think the SelectCommand object is there when in fact it is not.
Is there some rule about not being able to save datasets with data the BizObj does not retrieve, or am i missing something here??
Thanks in advance.
PS
Kevin there could be another humour clip in it for you. <g>
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement