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

xiii29 xiii29 at free.fr
Thu Aug 24 15:14:40 EDT 2006


Hi !

Ok one for me !!! I misunderstood the exception message. It seems that 
we can't add a Constraint if there an equivalent Relation ...

MS.Net does the same ... so it's ok : one for me !

Sorry for the disturb ...


Konstantin Triger a écrit :
> 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
> _______________________________________________
> 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