In my database I have a table called StaffMembers
when I bring this into my .net Project as through linq-to-sql an entity class StaffMember is created
Now I have
Sometime, just forgot to add this line to the base class:
[InheritanceMapping(Code = "Class", Type = typeof(Class))]