So your persistence comes from two DB sources and an entity could have data mixed from that two sources. But anyway you are taking care of the persistence.
LLBLGen is not designed to work in a Model-Only pattern. However you can do it:
- Create your entities from the LLBLGen model.
- Add a "Relational Model Data Storage for Database". Doesn't matter what DB you choose as you won't use this in your generated code.
- Auto-map all your entities: Right-click at Project root node and click "Auto map unmapped entities". This will create the needed tables/fields in your Catalog Explorer and will map your entities to them.
- Generate code using the Adapter template set. As you only need the model structure you can create a new preset and disable the DatabaseSpecific task group.
Now you have a ready-to-use business facade. The entities generate don't know anything about persisting (db tables, fields or mappings), so you can use them as you wish: send them to a service layer, use them in your code or generate DTO based on them, etc.
As you can see, the steps (2) and (3) are just there to make the model-only pattern works, so you won't have validation errors.