Re: Some kind of wrapper class
- From: stocki <info4stocki@xxxxxxxx>
- Date: Thu, 27 Mar 2008 08:38:20 -0700 (PDT)
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
.
- Follow-Ups:
- Re: Some kind of wrapper class
- From: Jon Skeet [C# MVP]
- Re: Some kind of wrapper class
- References:
- Some kind of wrapper class
- From: stocki
- Re: Some kind of wrapper class
- From: Jon Skeet [C# MVP]
- Some kind of wrapper class
- Prev by Date: money round
- Next by Date: Re: Ending a program while in Form_Load
- Previous by thread: Re: Some kind of wrapper class
- Next by thread: Re: Some kind of wrapper class
- Index(es):
Relevant Pages
|