.net - Linq to SQL access "raw" FK column -


i having interesting issue dealing navigation property, defined in db foreign key nocheck.

basically, relationship between user record , document user produces work product, related username (i.e. doc.username = user.username). fk constraint not checked on deletion, idea being if user leaves organization, document should remain behind , now-deleted username still stored author.

at database level, working great; however, because relationship defined via navigation property, display username , cannot because user record nothing / null.

my question is, there way access , / or expose "raw" table column in linq model can directly access in code when user record no longer exists? (fyi, using .net 3.5)


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -