Re: Some kind of wrapper class

Tech-Archive recommends: Speed Up your PC by fixing your registry



That said, you should create an interface that both the Oracle and SQL
Server classes implement, with the GetData() method and anything else
in common which you need to call. Then just use the interface,
basically.

Jon

Hi Jon,

Thank you for your quick response. This was the way I was actually
thinking of in the first run. The problem is though and I have
forgotten to mention it in my previous post, that I need some kind of
communication between e.g. cSQLServer and the presenter. For example
is the user in a position to limit the number of columns retrieved, or
he changes the order of columns. That makes it necessary to pass this
information back to the cSQLServer.

Working with an interface, as far as I know, works only in one
direction. Please correct me if I am wrong. This draw my attention on
the wrapper stuff

Cheers

Andreas
.



Relevant Pages

  • Re: Some kind of wrapper class
    ... in common which you need to call. ... communication between e.g. cSQLServer and the presenter. ... Working with an interface, as far as I know, works only in one ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Problem marshalling interface pointer into local server
    ... I created a new ATL project for the common marshaller proxy/stub with the ... IDL file I posted previously then used the ATL generated PS project output ... interface TypeLib in the various COM projects' library blocks. ...
    (microsoft.public.vc.atl)
  • Re: Tired of 100s of stupid Getter/Setter methods
    ... but interface does not hide the other methods of implementing ... telling you that you need to refactor a new common superclass. ... Again, composition instead of inheritance. ... A StringVector cannot take Integer parameters. ...
    (comp.lang.java.programmer)
  • Re: Do all OOM objects support the IMessage interface?
    ... works of a generic interface to Outlook items. ... the closest I have come to this with the OOM objects is the common ... if I could use the Outlook objects directly. ... > Why would adding a new sticky nore fire the OnSubmit callback? ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Wondering
    ... interface, but it doesn't follow the general Windoze conventions for common ... Wild Ginger does have a demo you can download and play with, and it is basically a CAD program, although there are so many "click" choices I haven't had to go into that yet - which is just as well, since I am self taught on the computer, and only know those things I have been forced to learn in order to make it do what I need. ...
    (alt.sewing)