How do you build extensible data model

前端 未结 5 536
离开以前
离开以前 2020-12-16 07:30

I\'m thinking of building a ecommerce application with an extensible data model using NHibernate and Fluent NHibernate. By having an extensible data model, I have the abilit

5条回答
  •  情书的邮戳
    2020-12-16 08:23

    Possible option would be to store all extra fields in an XML structure and use XPath/XQuery to retrieve them from the database. Each extensible entity in your application will have an XML field, like ExtendedData, which will contain all extra properties.

提交回复
热议问题