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

Konstantin Triger kostat at mainsoft.com
Thu Aug 24 03:36:42 EDT 2006


Hi,

Does it work on ms .net?
Can you drop a test case reproducing the problem?

Regards,
Konstantin Triger

-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of xiii29
Sent: Wednesday, August 23, 2006 11:55 PM
To: mono-devel-list at lists.ximian.com
Subject: [Mono-dev] DataSet : Trouble with Relation and ForeignKey ...

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 !








_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list