Mono: Entity Framework – Basic Setup Guide

So you have been using Entity Framework on Visual Studio and now you would like to code in Linux using Mono and still be able to use Entity Framework. Well this post will give you some basic steps to setup your SQL server and Mono project to get a simple database going.

Setting SQL Express

Before we can go any further we need to have Microsoft SQL Server Express installed ¬†on a Windows server. For my own setup I already have a virtual machine with Windows Server 2012 running and SQL Server Express 2014 installed. It’s up to you to choose own setup, and it doesn’t have to be the same as mine.

Create Your SimpleDatabase

Now we need to create our test database on SQL Server by running the following SQL statement on your script editor of choice:



Screenshot from 2014-06-17 21:19:27

Now you should have a brand spanking new database created and ready to be populated with data. (more…)