Hi,
Stimulsoft supports all nullable datatypes. Yet, when I do a RegData for a business object containing nullable properties (double?, int?), it maps them as their non-nullable representations (double, int). The problem is we have no way to tell whether the data is actually 0 or a null. Can you please fix the RegData method to correctly map the datatypes?
Stimulsoft.Web 2018.2.3
Cheers,
Vineet
Businessobject RegData ignoring nullable types
-
- Posts: 6254
- Joined: Tue Mar 20, 2018 5:34 am
Re: Businessobject RegData ignoring nullable types
Hello,
You can try to use the following option:
StiOptions.Dictionary.UseAllowDBNullProperty = true;
Thank you.
You can try to use the following option:
StiOptions.Dictionary.UseAllowDBNullProperty = true;
Thank you.
Re: Businessobject RegData ignoring nullable types
Thank you. Can you please give some explanation on what this property does? Will this map the business object to the correct nullable data types?
-
- Posts: 6254
- Joined: Tue Mar 20, 2018 5:34 am
Re: Businessobject RegData ignoring nullable types
Hello,
This property Allow nullable types.
Thank you.
This property Allow nullable types.
Thank you.