Cannot I do like this:
namespace <[RootNamespace]>.<# SD_EntityAdapterNamespaceTemplate #>.EntityClasses
And your code in SD_EntityAdapterNamespaceTemplate as lpt file?
I tried, but of course generator raises error saying that variable "entity" does not exists.
Is there any way to get current entity name or entity object itself?
I really do not want to migrate whole template to LPT as it makes lots of troubles when migrating to the new version
regards
Mantas
Otis wrote:
In TDL it's not possible, you can in lpt. But that would mean you have to port the entity templates which are currently in tdl as well.
namespace <%=_executingGenerator.RootNamespaceToUse%>.<%=entity.GroupName%>.EntityClasses
Please check the designer reference manual available on the website (additional downloads or customer area) which describes the object model.