实体框架非SQL数据源

编程入门 行业动态 更新时间:2024-10-27 02:27:54
本文介绍了实体框架非SQL数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好!

我想对非SQL数据源使用实体框架,例如WMI。

I would like touse entity framework against non SQL data source, in example WMI.

这可能吗可以吗?

/提前致谢!

推荐答案

为了让EF成为能够与数据源通信,必须提供EF ADO.NET Provider。由于这些设计用于与关系存储进行交互,因此非关系存储的提供商不太可能发生。

In order for the EF to be able to talk to a data source, an EF ADO.NET Provider must be available. Since these are designed for interacting with relational stores, providers for non-relational stores are not likely to happen.

对于像WMI这样的商店,最好的办法是看看你是否可以使用WCF数据服务,具有更简单的提供者模型。其中一个旨在支持更多种类的来源。

For stores like WMI, your best bet is to see if you can use WCF Data Services, which has a simpler provider model. And one designed to supporta wider variety of sources.

HTH, Noam

HTH, Noam

更多推荐

实体框架非SQL数据源

本文发布于:2023-11-04 17:32:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1558567.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据源   实体   框架   SQL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!