Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing mmBusinessObject
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01483023
Message ID:
01483032
Views:
28
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform