Consultor Eletrônico



Kbase P102605: Open Client parameters with dashes are renamed
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/29/2005
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

When generating .Net proxies with ProxyGen field names and variable names containing dashes have the dashes replaced by underscores

CAUSE:

ProxyGen creates the .Net proxy by generating C# programs on the fly then compiling them. C# does not allow dashes in field or variable names so consequently ProxyGen will remove them in the case of variable names and replace them with underscores for field names in temp-tables/ProDataSets in order to successfully generate the proxy.

FIX:

There is nothing that needs to be fixed unless you do not like the names ProxyGen came up with. If that is the case then the 4GL code must be modified to use whatever names you like then the proxy must be regenerated.