I have a LINQ to SQL entity called Job which is just a simple table in SQL. Most of the time it works for what I need but occasionally I need more fields to be populated in this entity. I know I can use partial classes to add new fields to the LINQ generated class, but my question is how do I populate this extra data? For example, I have a stored proc that pulls back all the values for the Job table and the extra data I need to populate. I'd like to hook into the entity populate routines and when this data is present, populate it, when it's not, ignore it. I know the simple solution is to create a view, but I don't like that solution.
I can't seem to figure out where LINQ is taking the data and populating the entity. Does anyone have any ideas?
Thanks!