Last post Aug 12, 2018 10:43 PM by KathyW
Aug 12, 2018 06:58 PM|vinodkpasi|LINK
Does DataColumn.Unique property and UniqueConstraint class serve the same purpose? Any difference?
Aug 12, 2018 10:43 PM|KathyW|LINK
They are not quite the same.
DataColumn.Unique is a true/false field to say if the values in that column must be unique.
Since DataColumn.Unique could be false, it does not imply UniqueConstraint for that column.
However, if DataColumn.Unique is true, it should be the same as applying UniqueConstraint to that column.