Hi,
Using PowerServer 2021 Beta, some datatypes like tinyint(stored procedure), number(datawindow) etc. does not gets automatically converted correctly to C# models and needs to be manually modified and saved.
Like tinyint parses to int32 and number to double.
We have to manually save it as tinyint > byte and number > long
Thanks,
Nilotpal
Thanks for looking into this. PFB the steps to reproduce:
1. create a stored proc with a column in resultset having datatype tinyint
2. create a DW in PowerBuilder using this stored procedure resultset
3. deploy the project, it will parse the DW to C# model but with int32 datatype. Now build and run the api. It should give error during runtime.
4. now manually modify the int32 datatype to byte datatype in the model using snapdevelop ide, save, build and run the api. After this error should not be there
Database:
Sybase ASE 16
ODBC connection using Sybase ASE Driver 16
Thanks
I followed your exact steps using Sybase ASE 16 with ODBC but still can't reproduce the issue. Could you submit a ticket with a reproducible test case at https://www.appeon.com/standardsupport/newbug so we can further analyze the issue?
BTW, are you on build 1076?
Regards,
David
Thanks for looking into this.
Yes I am using Build 1076.
Thanks,
Nilotpal