I'm working on a datamodel that has a set of types that share some common fields such as Id, Name, Description. To be more concrete:
The Document class has a list of Attributes. These Attributes are in our domain, types like String, Integer, DateTime and more "complex" types such as Address and lists of String, Integer, Address, etc. Now, in my head I would model the Attribute classes so that I have an abstract base class (AttributeBase) that contains common attributes (Id, Name, Description) and then have the more specific attributes in the appropriate sub classes. E.g. StringAttribute (Value), IntegerAttribute(Value), AddressAttribute(Street, etc), StringListAttribute, IntegerListAttribute, AddressListAttribute. We are talking about 15-20 different sub classes. But how would you model those classes in the database? Would you choose TPH, TPT or TPC? I have read about the performance hit when choosing TPT and EF 4.1 and having one massiv table for TPH doesn't sound right to me even if the performance is better. We are talking about potentially 10000 - 1000000++ rows of data in the tables.
Do you have any first hand experience when it comes to these scenarios? I would really like to here from you on this subject.