I'm learning this tutorial: http://www.codeproject.com/Articles/986730/Learn-MVC-Project-in-days-Day
I have problem with day 3 in first step - Step 1 – Create Database. I don't know how do this.
UPDATE
Ok, I added this DB, this is the tree in SQL Server Object Explorer
I have an error:
An exception of type 'System.Data.SqlClient.SqlException' occurred in EntityFramework.dll but was not handled in user code
in return
public List<Employee> GetEmployees()
{
SalesERPDAL salesDal = new SalesERPDAL();
return salesDal.Employees.ToList();
}
This is my connectionString
<connectionStrings>
<add connectionString="Data Source=(LocalDb);Initial Catalog=SalesERPDB;Integrated Security=True"
name="SalesERPDAL"
providerName="System.Data.SqlClient"/>
</connectionStrings>
I added DB in App_Data project folder