[Mono-dev] DataSet : Trouble with Relation and ForeignKey ...

xiii29 xiii29 at free.fr
Wed Aug 23 16:55:22 EDT 2006


My applications uses a DataSet with DataRelations to store information.
After created a relation, I also create a ForeignKey between the same 
two columns.

With the version of mono : no trouble everything is working.

With the version of mono : I get this messages :
/Unhandled Exception: System.Data.DataException: Constraint matches 
contraint named '<Name>' already in collection/

I think I'm doing something twice by creating a DataRelation and a 
Constraint, so which one include the other one ?

Thanks for answer !

More information about the Mono-devel-list mailing list