Basis of LINQ to SQL: Entity Inheritance

The goal of this post is to illustrate the inheritance concept in LINQ to SQL. We use inheritance when we want to map a set of classes derived from the same base class with the same relational table. Contact will be our Base Class: [Table(Name = “Contact”)][InheritanceMapping(Code = “Employee”, Type = typeof (EmployeeContact), IsDefault =…

1