General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
Roy
Been giving this some more thought. I'm assuming that since you want to use a web service for data acces that, for whatever reason, you can't simply access the database server over TCP/IP. If that's the case, it's not really a matter of overriding method...it's a little deeper than that.
Remember that an mm.net business object is a composite class (the class only exists if all of the parts are there) composed of the the business object wrapper class, the business rules class, and the data access class. So your question is really how to replace the data access class with your web service. In order to do that you'll have to guarantee that the web service supports the same interface that the mm.net data access class does.
If that's not true then you'll have to implement a class that maps funtionality between the two. Then in either case you'll need to create a factory of sorts to instanciate the mm.net data access class or yours whenever your business object is instanciated.
Scott
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only