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.

Change History (1)

comment:1 by bweaver, 17 years ago

Resolution: → fixed
Status: new → closed

(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.

Note: See TracTickets for help on using tickets.