Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing mmBusinessObject
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01483023
Message ID:
01483032
Vues:
27
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
Fil
Voir

Click here to load this message in the networking platform