Commerce Server 2009 + ORM [英] Commerce Server 2009 + ORM

查看:63
本文介绍了Commerce Server 2009 + ORM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



商务服务器在数据库中存储有关产品等的数据。有没有一个好的C#api来获取这些信息或建议采用ORM方法?



谢谢

解决方案

这取决于(你能告诉我我是一名顾问吗?)


如果您只想导出数据,CS会公开一个用于导出和导入目录的Web服务,以及具有此功能的管理工具,以及将按计划导出数据的登台服务。


如果您需要实时数据,然后您可以使用基于实体的框架上的CS来传递您需要的确切信息。


ORM方法的缺点是您在SQL上引入了依赖关系架构,可以改变道路。由于管理工具允许客户更改产品结构,因此CS具有更复杂的SQL产品架构。




Hi,

Commerce server stores data about products etc in the database. Is there a good C# api to get this information or is an ORM approach recommended?

Thanks

解决方案

It depends (can you tell I am a consultant?)

If you are just wanting to export the data, CS exposes a web service for export and import of the Catalog as well as has a management tool that does this, as well as the staging service that will export the data on a schedule.

If you are wanting the data in real time then you can use the CS over a Entity based framework to pass you the exact information you need.

The disadvantage with an ORM approach is that you introduce dependencies on the SQL schema, which could change down the road. Because the management tools allow the customer to change the product structure, CS has a complexer SQL product schema.


这篇关于Commerce Server 2009 + ORM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆