简体   繁体   中英

Use Entity framework code first with nosql database

Can I use Entity Framework Code First Approach with NoSql Database? And how NoSql can be advantage over SQL Database for a application with large data.

I have been using BrightstarDb ( http://www.brightstardb.com/ ) for the past few months and it offers code-first model generation based on Entity Framework.

BrightstarDb is a NoSql database that is also an RDF triplestore, so it's allows for more complicated relations between Entities than most traditional NoSql databases.

Can i use Entity Framework Code First Approach with NoSql Database ?

No, you can't.

and how NoSql can be advantage over SQL Database for a application with large data.

Quote :

NoSQL database systems are often highly optimized for retrieve and append operations and often offer little functionality beyond record storage (eg key-value stores). The reduced run time flexibility compared to full SQL systems is compensated by significant gains in scalability and performance for certain data models.

In short, NoSQL database management systems are useful when working with a huge quantity of data and the data's nature does not require a relational model for the data structure. The data could be structured, but it is of minimal importance and what really matters is the ability to store and retrieve great quantities of data, and not the relationships between the elements. For example, to store millions of key-value pairs in one or a few associative arrays or to store millions of data records. This is particularly useful for statistical or real-time analyses for growing list of elements (such as Twitter posts or the Internet server logs from a big group of users).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM