Hi,
In my custom_entityUsingEntityBase.template, I've included:
<[ UserCodeRegion "CustomEntityValidationCode" ]>' __LLBLGENPRO_USER_CODE_REGION_START <[UserCodeRegionName]>
' __LLBLGENPRO_USER_CODE_REGION_END<[ EndUserCodeRegion ]>
This creates (as far as I can see) a correct UserCodeRegion.
When I generate the code with SelfServicing, two class scenario Full/Safe, the existing entities are not replaced, which is correct.
But when I run SelfServicing, two class scenario Full, then I should expect that the code that is written between the start/end comments is saved. Problem is that the whole file seems to be overwritten, and the UserCode has gone...
Am I doing anything wrong?