I am in the process of attempting to convert a client-server application to be delivered by PowerServer. After I publish the AppModels and run the application I am finding the most common issue is in a c# model generated for a datawindow that has columns having a "Number" datatype. The generated model usually gets a "double?" datatype but when I view the column it is being mapped for, that column is defined as an INT in SQL Server.
Below is an example of how the column is defined in the source editor of a datawindow...
column=(type=number updatewhereclause=no name=rth_id dbname="rth_id" )
My application has many datawindows and this has been found to be an issue in hundreds of them. When I do a search in the IDE there are 3000+ instances.
To date, I manage this issue by using a text editor to do a mass search-and-replace on the c# models. Is there a setting I am missing in SnapDevelop that will allow me to tell the model generation process to use Int32 for any datawindow columns having a "number" datatype?
As for the original issue that caused me to make my initial post, I think I am going to open a support ticket for that one...I just haven't figured out how much information I need to supply. I know what it is like to have customers tell you something is wrong but offer insufficient information.