Hello
I have a set of custom templates that generates an additional project which calls the llblgen generated code. It adds extra common features we use a lot. We are using v3 Adapter.
I wrote these templates originally in v2 and in parts they call the method GetRelationsForFields("....") to get back relations when building a query. eg
UserPermissionEntity.GetRelationsForField("Permission")
In version 3 GetRelationsForField changed from public to internal. Up until now I've gotten around this by changing your templates back to public each time I update llblgen but I'm fed up of that now and want to do it right.
I know I should be generating code like this:
UserPermissionEntity.Relations.PermissionEntityUsingPermissionId;
However the naming of these properties is pretty complicated. I've looked into the .template files which generate the properties in the first place but my templates are .lpt and I'm really struggling. I've been looking through your included .lpt's and I've not found any examples.
I've got as far as
"UserPermissionEntity.Relations.PermissionEntityUsing"
Do you have an example of how to do this in .lpt? ideally without having to call out to a helper dll?
Thanks
~Brett