Consultor Eletrônico



Kbase P91195: Getting error CS0117 when generating a .Net proxy
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   21/10/2004
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

Getting error CS0117 when generating a .Net proxy

error CS0117: 'bool' does not contain a definition for 'Convert'

Proxy contains several persistent procedures which use ProDataSets as parameters

Each ProDataSet contains one or more temp-tables defined using the LIKE phrase

CAUSE:

The underlying database tables that the temp-tables in each ProDataSet were derived from (using the LIKE phrase) had a logical field defined with the name 'System'. The word 'System' is used in the .Net framework to point to the System class (from which many other classes are derived).

FIX:

Rename the field something other than 'System' by either physically renaming the field in the database or by manually defining the temp-table in the 4GL program (instead of using the LIKE phrase).