Is there a way to look for all of the foreign keys
in a data set?
I know there's a way to look for all of the relations:
new DataSet().Relations
Is there a similar proptery
for just foreign keys
?
Is there a way to look for all of the foreign keys
in a data set?
I know there's a way to look for all of the relations:
new DataSet().Relations
Is there a similar proptery
for just foreign keys
?
There is a foreignkeyconstraint
Class, so for each DataTable
in your dataset you can find the list of its Constraints
, which will give you all constraints including any foreign keys of type foreignkeyconstraint
.