using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace ScoreServerMVC.Models { public class Score { public int ScoreID { get; set; } public string Name { get; set; } public int Points { get; set; } public DateTime Date { get; set; } public Score(int score, string name, int pts, datetime date) { this.ScoreID = score; this.Name = name; this.Points = pts; this.Date = date; } } public class ScoreDbContext : DbContext { public DbSet Scores { get; set; } } }