Personel Table
Id | Name |
---|---|
1 | ABC |
2 | DEF |
Car Table
Id | Name |
---|---|
1 | X Car |
2 | Y Car |
Image&Document Table
Id | Path | EntityId | EntityName |
---|---|---|---|
1 | Car-1.Jpg | 1 | Car |
2 | Person1.Jpg | 1 | Personal |
3 | Car-3.Jpg | 3 | Car |
I want to create a sustainable and evolving common document table for all my assets. Would it be appropriate to set up the structure as above in EF? Does it make it harder for me to use the Include(Join) construct?