数据访问层-从本地SQL数据库切换到云数据存储

发布于 2024-07-24 04:21:38 字数 349 浏览 3 评论 0原文

我正在创建一个简单的应用程序并陷入数据存储选项。 首先,我想使用 SQL Server 作为我的数据存储。 我不会使用 SQL Server 的任何特殊功能,它的纯表具有 CRUD 操作。 现在,我应该能够通过更改一些配置参数将底层数据存储切换到 SQL Data Services 或 Amazon S3。

这可能吗??? 如果是,任何人都可以提供有关如何进行的高级指导吗? 我是否需要使用实体框架才能开始使用 SQL Server? 实体框架是否支持 SQL 数据服务? 是否有同时支持 SQL 数据服务和 Amazon S3 的通用组件?

太多问题!!!

我在这里先向您的帮助表示感谢。

I am creating a simple application and getting stuck with data storage option. To begin with I would like to use SQL Server as my data storage. I will not be using any special features of SQL Server, its pure tables with CRUD operations.
Now I should be able to switch the underlying data store to either SQL Data Services or Amazon S3 by changing few configuration parameters.

Is this possible??? If yes, can anyone provide high level guidance on how to go about it? Do I need to use Entity Framework to begin with SQL Server? Does Entity Framework supports SQL Data Services? Any common component which supports both SQL Data Services and Amazon S3?

Too many questions!!!

Thanks for the help in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

听你说爱我 2024-07-31 04:21:38

我所知道的最接近的 ORM 是 LightSpeed。 不过我从来没有用过它。 就个人而言,如果最终目标是使用云存储,我可能会从一开始就使用云存储...

如果您打算使用 Amazon 的 SimpleDB,M/Gateway 有一个 模仿其 API 的开源数据库

The closest ORM I know of is LightSpeed. I've never used it though. Personally, if the end goal is to use cloud storage, I'd probably just use cloud storage from the get go...

If you are going to use Amazon's SimpleDB, M/Gateway has a open source db that mimics their API.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文