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

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


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

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 ...


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 !

Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

More information about the Mono-devel-list mailing list