Hi Matt,
thanks, that works within my LPT templates, for example:
Dictionary<string, string> customProperties = relatedEntity.OutputSettingValues.CustomProperties;
string relatedDescription = customProperties["GenerateService"];
The above solves my originally reported problem in the LPT templates.
However, looking at the documentation for the Runtime Framework version: 3.1 (LLBLGen Pro Runtime Framework v3.1.chm), one can find in the section "Using the Generated Code", "Custom Properties" some examples like:
Dictionary<string, string> customProperties = myEntity.CustomPropertiesOfType;
string GenerateService = customProperties["GenerateService"];
The error reported after compiling the generated code:
'SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2.CustomPropertiesOfType' is inaccessible due to its protection level; The property or indexer 'SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2.CustomPropertiesOfType' cannot be used in this context because the get accessor is inaccessible.
So I'm not able to use it in the generated code (which I'm not after right now), that section in the documentation seems to be incorrect/not working as presented, or am overlooking/wrongly assuming something here?
Anyway, thanks
Jan