Hello,
I tried searching throughout all the current threads, but couldn't find an adequate answer. I use LLBLGen 2.6 on .NET 3.5 projects. I often use the "Custom Entity code" region inside an entity to add additional stuff. I tend to follow the "a method/logic related to a class should be declared in that class" principle as much as I can. The problem is when I need to use methods from external assemblies. I can reference them all right, but I have a problem with namespaces. I have a need to reference certain namespaces for all the entities. For example, even System.Linq namespace is not present in the entity definition, so if I want to do Linq operations on a collection of child entities, I can't do that, at least not straightforward.
I know I can add the namespace in the "AdditionalNamespaces" region, but I need to do that manually for each namespace/entity.
I also know about your "additional namespaces" plugin in the designer, but it's not satisfying because as I keep adding/removing entities I need to either add those namespaces manually for each new entity or run a designer plugin with remove all/add all kind of sequence ("remove all" is needed since "add all" creates duplicates).
The third way is to use the full namespace definition of the external methods, which looks ugly, especially for extension methods.
So, I know I have these 3 different workarounds, but each of them takes additional time and attention. I'd really like to have a kind of "set it and forget it" global option. Since this is not a critical matter, I know I'll probably have to wait a long time, but I'd like to ask you if you could be so kind to provide this feature at least in the next version if not sooner.
Best Regards,
Jaz