3rd highest salary in sql server

mongodb with entity framework

Firstly I would like to introduce about mongodb, "MongoDB is the fastest growing database because it’s provided more security protection mechanisms than others and also more reliable in cloud computing environments. It is secure architecture for your deployment." 

And secondly, I would like to introduce about entity framework, “Entity Framework is an object relational mapping framework that is used to work with data as objects”. 

This is the code-first-approach to accessing database like SQL Server, Mongodb etc.
Finally, come to your question “mongodb with entity framework” steps to implement in your projects.

1.      Open Visual Studio and create a new Windows Form Application.
2.      Run the command prompt and install latest “Entity Framework” in the “Visual Studio” package manger console.
3.      And modify to connection string in the “App.config” file in the project and add the mongodb entity framework reference “providerName” in the connection string.

The example,

<connectionStrings>
  <add name="mongodbContext" connectionString="Offline=False;Server=serverName;Port=portno;Database=MyDBName;User=AnilPC;" providerName="System.Data.CData.MongoDB" />
</connectionStrings>









ANIL SINGH

Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
My Blogs - http://www.code-sample.com and http://www.code-sample.xyz
My Books - Google Amazon and Flipkart Book Store!

You Might Also Like
Post a Comment
www.code-sample.com/. Powered by Blogger.
ASK Questions
SQL Server NodeJs TypeScript JavaScript Angular SQL Server My Book