[Mono-list] Compilation Errors on DataSet Classes Generated byXSD.exe
Alan Tam
Tam@SiuLung.com
Thu, 6 Feb 2003 01:41:26 +0800
Thanks ville.
With this patch, a newly generated class (by xsd.exe) needs only this
modification to work:
32c32
< this.Relations.CollectionChanged += schemaChangedHandler;
---
> //this.Relations.CollectionChanged += schemaChangedHandler;
DataRelation related functions are largely not yet implemented. In this case
"this.Relations" throws NotImplementedException. There is no solution except we
can create a copy of DataRelationCollection and store it in
DataSet.relationCollection.
Regards,
Alan
----- Original Message -----
From: "ville" <vi64pa@koti.soon.fi>
To: "Alan Tam" <Tam@SiuLung.com>
Cc: "Mono-List" <mono-list@ximian.com>
Sent: Thursday, February 06, 2003 12:02 AM
Subject: Re: [Mono-list] Compilation Errors on DataSet Classes Generated
byXSD.exe
Hi Alan!
On Wednesday 05 February 2003 17:19, Alan Tam wrote:
> Attached please find a patch for mcs/class/System.Data/System.Data/
> and a new file for mcs/class/System/System.ComponentModel/
>
> Suggested ChangeLog for mcs/class/System.Data/System.Data/:
> Added framework for DataSet.Update
> Implemented missing methods GetSchemaSerializable, GetSerializationData,
> ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables for
> DataSet
> Implemented missing methods CreateInstance and GetRowType for DataTable
>
> Suggested ChangeLog for mcs/class/System/System.ComponentModel/:
> Implemented DesignerCategoryAttribute
Applied to CVS.
And Thanks a lot!
Ville
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list