J
Jim Heavey
Hello,
I was setting the primary key on a table which was a collection of 3 columns.
I mispelled the name of the second column when I built the array of collumns
when I created the array of collumns for the primary key. When I used the
"dt.primarykey(myArrayOfKeys)" no exception was thrown, and rather then the
primary key being a set of 3 columns, it was only a single column.
When you make this type of mistake when setting foreign keys, that process
throws and exception.
Why the inconsistency?
I was setting the primary key on a table which was a collection of 3 columns.
I mispelled the name of the second column when I built the array of collumns
when I created the array of collumns for the primary key. When I used the
"dt.primarykey(myArrayOfKeys)" no exception was thrown, and rather then the
primary key being a set of 3 columns, it was only a single column.
When you make this type of mistake when setting foreign keys, that process
throws and exception.
Why the inconsistency?