D
David McKenzie
I am reposting for a coworker.
His post follows:
I'm working with DataSets in my code and cannot find a suitable Interface to
reference.
As a work-around, I've written an Interface (IDataSet) that defines all of
the public method signatures of a DataSet class. A custom class (DataSetExt)
implements that Interface and delegates public method calls to *base*.
I know that in taking this approach I've left myself open to a slew of
potential problems especially if the signatures of the DataSet class change.
However, the System.Data.DataSet class has no primary interface....????
Any thoughts on this?
What we are looking for is some sort of response like
"Yes that is the way to approach this problem"
or
"What are you nuts!?! - that interface will be broken 9 ways from sunday
every time a Microsoft developer sneezes"
His post follows:
I'm working with DataSets in my code and cannot find a suitable Interface to
reference.
As a work-around, I've written an Interface (IDataSet) that defines all of
the public method signatures of a DataSet class. A custom class (DataSetExt)
implements that Interface and delegates public method calls to *base*.
I know that in taking this approach I've left myself open to a slew of
potential problems especially if the signatures of the DataSet class change.
However, the System.Data.DataSet class has no primary interface....????
Any thoughts on this?
What we are looking for is some sort of response like
"Yes that is the way to approach this problem"
or
"What are you nuts!?! - that interface will be broken 9 ways from sunday
every time a Microsoft developer sneezes"