Information générale
Catégorie:
The Mere Mortals .NET Framework
I've decided for the time being to just add
oObject.DefaultCommandType = System.Data.CommandType.Text;
Before each call to LoadRow()
Seems to me the thing to do would be to subclass the MM base objects and base all of our classes off those, the way we do with FoxPro's base classes.
Eric
>So I found what I think is a bug in mmBusinessObject. In the LoadRow(object pk) method there is the code that creates the SELECT statement and then a call is made to getDataSet(). But because it doesn't send a CommandType, getDataSet uses the DefaultCommandType which for me is stored procedure. That screws things up, so I'm gonna fix it.
>
>But my question is, if I fix this and a new version of MM.Net comes out and overwrites my mmBusinessObject class, what happens?
>
>I see from the help that I have to recompile the assemblies. Are there any other "best practices" in changing the MM classes?
>
>Thanks,
>
>Eric
Précédent
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