1. Brian Ramzoti
  2. SnapDevelop
  3. Tuesday, 17 October 2023 13:02 PM UTC

Hello,

I'm using SnapDevelop to generate the DataWindows.

I can see the default values for the columns of type string or datetime, but none of the numeric types.

For example, this is fine:
public string C_Chiuso_A_Forza { get; set; } = "N";

But I can't see any of the numeric types with the default values.
For example in the srd I have:
 column=(type=long update=yes updatewhereclause=yes name=id_azienda dbname="riga_documento.id_azienda" initial="1" )
column=(type=char(1) updatewhereclause=yes name=c_chiuso_a_forza dbname="c_chiuso_a_forza" initial="N" )

The second is done, the first not, as far as the defaults are concerned.

Are default values of numeric types supported at all?

Thanks,

Brian

David Xiong @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 25 October 2023 09:54 AM UTC
  2. SnapDevelop
  3. # 1

Hi Brian,

 

When using SnapDevelop to convert srd to Model, it is also supported to generate default values of numeric types.

Open the setting window in SnapDevelop -> Tools-> Options, check the Generate the default value option, and the default value will be included in the converted Model.

 

If you check the setting but the problem still exists. We recommend that you provide a small case that can reproduce this problem (including table structure), and then submit a ticket in our Support system (https://www.appeon.com/standardsupport/newbug). Thank you!

 

Regards,

David

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.