asp mvc list ecommerce product with dynamically changing specifications

依然范特西╮ 提交于 2019-12-02 04:37:06

EAV has several downsides:

  • The database layer can't force attribute names to be correct, so you have to do it in code
  • Search performance is slow if you're filtering on values in the EAV table
  • Performance is also slow if you try to join other tables based on the values in the EAV table

But if you need a flexible and dynamic set of attributes and you don't need to search or join by the attribute values, EAV is a good solution.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!