DS relation can't be access from code?

  • Thread starter Thread starter Mtcc
  • Start date Start date
M

Mtcc

I have to table on typed Dataset, one is master and tow is detail.

I add on DS designer a relation from master to detail.

Now when I fill the detail table, I get error (I get msg: constrain or
null). I try to avoid the

relation and the error gone.


If I understand, I need to Disable the relation while I fill the DS.

It is correct? How I do that?


I try to access to relation class on My code, and I can't find the
declaration on Region of designer generator. And I get error that it not
declared?
 
sorry i have another mistake.

but by the way:
1. to access to relasion need to use with relations property of DS, it is
collection.
2. relation class no have a clone abilty, why?
 
Back
Top