B
Blake Weaver
When I create a datarelation between two of the tables in my dataset, it
creates a key on the appropriate column of the parent table. Am I wrong in
assuming that a PK column cannot have Null Values? And if they can't, does
that mean you must have at least one child record for every parent so the PK
can link to something?
The reason I ask is that I'm getting a constraint violation when I try to
fill the child table via the dataadapter. And I know there is not a child
record for every parent record. In ADO (been a little while but) I think it
would have been an LEFT OUTER JOIN. What's ADO.NET's answer to this? Is this
where the 'Foreign Key Constraint Only' check box comes into play?
Thanks,
Blake
creates a key on the appropriate column of the parent table. Am I wrong in
assuming that a PK column cannot have Null Values? And if they can't, does
that mean you must have at least one child record for every parent so the PK
can link to something?
The reason I ask is that I'm getting a constraint violation when I try to
fill the child table via the dataadapter. And I know there is not a child
record for every parent record. In ADO (been a little while but) I think it
would have been an LEFT OUTER JOIN. What's ADO.NET's answer to this? Is this
where the 'Foreign Key Constraint Only' check box comes into play?
Thanks,
Blake