0

Can I give inheritance to my classes using entity framework?

When I do for example a partial class Dog : Animal it gives the program a compile error since Dog has already some entity framework inheritance, idk how to solve that so

4th Jul 2016, 4:47 AM
Crsk
1 Antwort
0
you do not need partial in this expression. you just make class Dog : Animal. it means that dog inherite from animal. that should work.
4th Jul 2016, 9:13 AM
Máté Lencsés
Máté Lencsés - avatar