Entity Framework inheritance: TPT, TPH or none?
Posted
by silverfighter
on Stack Overflow
See other posts from Stack Overflow
or by silverfighter
Published on 2009-05-30T15:27:58Z
Indexed on
2010/04/08
17:03 UTC
Read the original article
Hit count: 852
entity-framework
|inheritance
Hi,
I am currently reading about the possibility about using inheritance with Entity Framework. Sometimes I use a approch to type data records and I am not sure if I would use TPT or TPH or none...
For example... I have a ecommerce shop which adds shipping, billing, and delivery address
I have a address table:
RecordID AddressTypeID Street ZipCode City Country
and a table AddressType
RecordID AddressTypeDescription
The table design differs to the gerneral design when people show off TPT or TPH... Does it make sense to think about inheritance an when having a approach like this..
I hope it makes sense...
Thanks for any help...
© Stack Overflow or respective owner