Month: December 2016

Configuration Manager for SqlConnection

Reading Time: 1 minuteIn this tutorial, it is explained how to use Configuration Manager for SqlConnection. Firstly, we need to add Configuration Manager as reference to the project. Choose System.Configuration Use namespace using System.Configuration; Then we are ready to use Configuration Manager for

Tagged with: ,

Entity Framework Code First Example

Reading Time: 1 minuteIn this tutorial, Entity Framework code first example is given. We will continue from previous post and heaving code already we will make the database. This is actually the point of Entity Framework code first concept: to have classes in

Tagged with:

Basic Entity Framework C#

Reading Time: 2 minutesIn this tutorial, Basic Entity Framework C# is explained with no database, code first. To make it simple, we will prepare it as console application. We need to add reference from NuGet package. So, click on References folder and Manage

Tagged with: ,