Hello,
I am new to LLBLGen. I am using Adapter pattern in enterprise application:
Client Layer (Web Browser) ->(DTO)-> Presentation Layer (WCF) -> Business Layer (Facade + Business Objects (LLBLGen)) -> Data Layer (Database Specific (LLBLGen))
I have a case when I need to show let's say list of products in the grid view.
Every Product table have ProductTypeId attribute (ProductId, ProductTypeId, Name, Price), which is FK to the ProductType table (ProductTypeId , Value, Description)
Instead of converting ProductTypeId to the corresponding Description value somewhere at the page I would like to extend my Product Entity with additional field - ProductTypeDescription. I read something about projections - is this is the way to do it? Can you show me (or point to) an example please?
I expect to be able to add such an extension through the LLBLGen GUI and I was able to add some fields in "Fields mapped on related fields", but after code regeneration I wasn't able to see those fields neither in the ProductFields... Am I doing things right way?
Thank you,
Andrei