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

Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..
My Blogs - https://code-sample.com and https://code-sample.xyz
My Book1 - BEST SELLING ANGULAR BOOK (INCLUDING ALL VERSIONS 2, 4, 5, 6, 7)
My Book2 - ANGULAR 2 INTERVIEW QUESTIONS BOOK - Both Books are Available on WorldWide.

www.code-sample.com/. Powered by Blogger.