Entity Framework Polymorphism
- by Chubbs
Hey guys,
I wanted some help with trying to implement a simple polymorphic relationship using Entity Framework.
An example of a relationship I would like to implement:
Comment table
ItemType ('Video', 'User')
ItemID
Body
Video has many Comments
User has many Comments
No idea the best way to do this, I come from a Ruby on Rails way of thinking.