I am having some trouble understand how to add a new table to an existing database in my web application mvc 4. I have added the table to the database, then i added the model. When I build the solution, i get this error: The namespace 'MvcFFL.Models' already contains a definition for 'PlayerDBContext' C:\Webs\MvcFFL\MvcFFL\Models\Player.cs 19
Here is my Abbrviations model
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace MvcFFL.Models
{
public class Abbrivations
{
public int ID { get; set; }
public string Abbrv { get; set; }
public string Team { get; set; }
}
public class PlayerDBContext : DbContext
{
public DbSet<Abbrivations> Abbrvs { get; set; }
}
}
Does the Dbset line need to go into the Player.cs file or is it actually needed? I would like to be able use the table to add data into