Consultor Eletrônico



Kbase P45132: Datasource keys attributes don't map to ADO.NET' DataTable.P
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   01/10/2003
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0A1B

SYMPTOM(s):

Datasource keys attributes don't map to ADO.NET' DataTable.PrimaryKey attribute

CAUSE:

Datasources are not really part of the DATASET definition, that's why those keys cannot be used.

FIX:

Set an index on the TEMP-TABLE itself and that does get mapped to the primary key for an ADO.NET DataTable.