DAL2 - How get value from joined column if that column not belongs to table that represents entity object?
Return to previous page
DAL2 - How get value from joined column if that column not belongs to table that represents entity object?
Add an Answer
Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
When I started working with DNN7 DAL2 I was surprised that I can't retrieve data for the properties of my object if table that represents that object not contains column related to property of my object.
I found only one attribute "IgnoreColumnAttribute" that allow me use properties in my objects that not belongs to columns.
But what about joined columns? How I can get values from there?
In PetaPoco present attribute like "ResultColumnAttribute" that allow get information from joined columns and fill object properties that not belong to he objest table with data.