You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have seen many users point out that EF does not have support for inheritance. In fact, I have learned this is already well known and being work on by the team, as seen here: #247
I have two questions:
When might it be ready for test and evaluation? Especially tph(table per hierarchy)? We would really like to help evaluate and test this when you are ready. I also realize you may be tempted to answer it like this: http://imdb.to/1H0Ujd8 :)
In the meantime, is there anyway we could currently try to mimic tph (database first perhaps)? It seems the current behavior is tpt (table per type)?
The text was updated successfully, but these errors were encountered:
Love the quote 😄... I can be a little more specific. We view inheritance mapping as a 'must have O/RM feature' and we expect to have all those implemented toward the end of the year [insert usual disclaimer that things can change, this is just what we think, etc.].
There isn't really a way to mimic it at the moment. If you use inheritance then the types are treated as two completely different types (as if they didn't inherit). We also don't make any guarantees that stuff won't just break since we haven't implemented inheritance at all yet... that just happens to be what occurs with the current logic.
Thanks. Your reply will help us and I feel many others who had this question and propel a lot of folks projects further. If anyone has come across this, I would suggest they design a concrete schema as carefully as possible with an eye towards extending those concrete tables as base classes when the time for tph comes.
I have seen many users point out that EF does not have support for inheritance. In fact, I have learned this is already well known and being work on by the team, as seen here: #247
I have two questions:
The text was updated successfully, but these errors were encountered: