Opened 17 years ago
Closed 17 years ago
#236 closed defect (fixed)
Dataview primary key not being set properly in all cases
| Reported by: | bweaver | Owned by: | lauragu |
|---|---|---|---|
| Priority: | major | Milestone: | Beta 3 |
| Component: | Public Website App. | Version: | 1.1.3642 |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
See geography_lookup dataview. value_member field is marked as Primary Key in the dataview definition, but GetData() is returning no primary keys for it.
Note:
See TracTickets
for help on using tickets.

(In [897]) Fixes #236 - primary key calculation was try to match TableFieldName to the list of primary key columns on the DataTable, which are named by DataViewFieldName. If DataViewFieldName happened to match TableFieldName, everything worked. When it did not match, no fields were marked as primary key.