Reputation: 931
If I have a base class B and inheriting child class C1 and C2, can I use LINQ to map C1 and C2 to corresponding tables T1 and T2 if B contains some common fields?
Upvotes: 1
Views: 77
Reputation: 18495
LINQ to SQL only supports table-per-hierarchy inheritance out of the box. Entity Framework allows different storage schemes including table-per-subclass as you describe. This may help.
Upvotes: 3