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

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


Hi,

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 1.1.13.4 version of mono : no trouble everything is working.

With the 1.1.16.1 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