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" <[EMAIL PROTECTED]> To: "Alan Tam" <[EMAIL PROTECTED]> Cc: "Mono-List" <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
