Ian wrote:
Hi,
Is it possible to to specify that the integer value '0' is to be stored in the database as null?
No. LLBLGen Pro doesn't use surrogate NULL values, for the reason that these specs often change later on, which results in weird behaving systems.
Also, how do I specify that an integer field is null at all? I just want to avoid referential integrity constraint errors when a field is set to 0.
Cheers,
Ian.
Please check 'Using the generated code - SelfServicing/Adapter - Using the entity classes -> Entities, NULL values and defaults'