In the entity class file there's a place to add custom interfaces:
// __LLBLGENPRO_USER_CODE_REGION_START AdditionalInterfaces
// __LLBLGENPRO_USER_CODE_REGION_END
But there doesn't seem to be a way to safely add a "using" directive. So for example if I define my own interface "ICustomer", I need to add a using statement to the top of the file pointing to the assembly that defines this interface. I can add it easy enough, but I assume it will get overwritten since there is no user code region for that.
I've been experimenting with deriving my own classes instead of embedding code in the code regions in the generated files. But I have found it to be quite tricky. Of course all constructors for the base class have to be redefined. Then it looks like every property that maps to another derived entity of course needs to be redefined.
I installed the derived classes for adapter template from the 3rd party section, and it generates all that stuff, although it doesn't let me choose which entities I need to subclass (just need to subclass 6), and these files themselves are generated, which leads me back to the same problem of sticking all my code into generated files, which I thought it would be nice to get away from.
What is everybody else doing to add custom functionality to entities in the adapter scenario, particularly custom interfaces?