Wed, 5 Feb 2003 23:50:12 +0800
> Its most likely a private or internal class of DataSet?
I have no idea as well. Just no idea why it has to be abstract. The few methods
do not seem too special. But since I noticed something called
System.Data.DataTableRelationCollection, I suspect there is something called
System.Data.DataSetRelationCollection (not even an inner class of DataSet).
However, they (both DataTableRelationCollection and DataSetRelationCollection)
are not observed anywhere in Microsoft's documentations.
> Anyways, someone started an implementation called
> DataTableRelationCollection to be internal. It's at
Yes, I was referring to it when I write this e-mail. It does not matter at all
it is internal or not, but that since it is abstract it cannot be instantiated.
This maybe the root of the problem that we never succeed in implementing the
> It would be returned via the Relations property in a DataSet.
> If you look in DataSet.cs, you will see source code commented for it.
> It was never able to compile though. So, maybe you could get it to work?
Yes, I suppose DataSet would either create an instance in the constructor, or
in property get of the Relations, a new instance of the DataRelationCollection.
It seems to me that implementing DataRelation is not an easy task. It involves
many missing code along many System.Data classes, including DataSet, DataTable,
----- Original Message -----
From: "Daniel Morgan" <firstname.lastname@example.org>
To: "Alan Tam" <Tam@siulung.com>; "Mono-List" <email@example.com>
Sent: Wednesday, February 05, 2003 11:40 PM
Subject: RE: [Mono-list] DataRelationCollection
Its most likely a private or internal class of DataSet?
Anyways, someone started an implementation called
DataTableRelationCollection to be internal. It's at
It would be returned via the Relations property in a DataSet.
If you look in DataSet.cs, you will see source code commented for it.
It was never able to compile though. So, maybe you could get it to work? :-)
[mailto:firstname.lastname@example.org]On Behalf Of Alan Tam
Sent: Wednesday, February 05, 2003 10:29 AM
Subject: [Mono-list] DataRelationCollection
This maybe a silly question. I noticed that System.Data.DataRelationCollection
is abstract (with a few abstract members). Then where is the concrete class
that it really stored? I've looked through the .NET Framework SDK documentation
but still cannot find a known subclass for DataRelationCollection. Anyone knows
what it is?
Mono-list maillist - Monoemail@example.com