We have defined a few custom public getter properties on some of our Entities. We can't select those properties into an anonymous type in Linq to LLBLGen because they don't map to a database field. The code compiles fine, but I will get a runtime exception.
Do you know of a way (possibly an attribute declaration) that I can exclude those custom properties from being eligible for usage in the linq statement?
For example, we have an entity that has a 'Title' custom getter property. The complier allows us to select the custom property into an anonymous type but at runtime we will get an exception because the 'Title' doesn't exist in the actual database. I'd like to know if you know of a way that we can hide those public properties on the entity when being used in a linq expression?
Thanks,