C#实体框架和沙发DB [英] C# Entity Framework and couch DB
问题描述
CouchDb是一个面向文档的NoSQL数据库。
实体框架(EF)是一种对象关系映射器,可使用特定于域的对象处理关系数据。它的目的是与关系数据库一起使用。
由于CouchDb使用HTTP作为传输协议,它是基于REST的,您可以使用任何启用HTTP的客户端轻松与其进行交互。尝试使用MyCouch,它是一个简单的异步,开源的CoucDb客户端,用C#编写。它建立在异步HttpClient之上,并允许您使用本机JSON和/或实体/ POCO。
查看:使用CouchDb和C#在Windows上使用MyCouch启动并运行
I am aware that C# Entity Framework will allow us to work with MySQL. But is it possible to connect any other like Couch DB in the place of MySQL?
CouchDb is a document-oriented NoSQL database.
Entity Framework (EF) is an object-relational mapper to work with relational data using domain-specific objects. It is meant to be used with Relational databases.
As CouchDb uses HTTP as its transport protocol and it is REST based, you could easily interact with it using any HTTP enabled client. Try using MyCouch which is a simple async, open sourced, CoucDb client written in C#. It builds on top of the async HttpClient and lets you work with native JSON and/or entities/POCOs.
Check this out: Get up and running with CouchDb and C# using MyCouch on Windows
这篇关于C#实体框架和沙发DB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!