Storing inherited objects in a database

后端 未结 3 1839
长情又很酷
长情又很酷 2021-01-06 06:05

I\'m trying to figure out the best way to map inheritance relationships in an object model into a relational database. For example consider the following class structure.

3条回答
  •  既然无缘
    2021-01-06 06:47

    Have you considered a NoSQL solution like RavenDB or MongoDB? If your needs are not purely relational, a non-relational solution may simplify things considerably.

提交回复
热议问题