Hi, I have a table with a unique index over two columns. If I use the FillSchema (C#) command, this constraint is not copied to the DataTable (or DataSet) but all the others are (like PK and unique indexes on one column). Is this a bug in the FillSchema command?
Yes, this is by design. FillSchema just tries to find one good candidate primary key and does not go through all of the constraints once a valid candidate primary key is found.