using FotbalPortal.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace FotbalPortal.DAL
{
    public class PortalContext : DbContext
    {
        public PortalContext()
            : base("DefaultConnection")
        {
        }
        public DbSet<Region> Regions { get; set; }
        public DbSet<Country> Countries { get; set; }
        public DbSet<Club> Clubs { get; set; }
        public DbSet<FavoriteClub> FavoriteClubs { get; set; }
        public DbSet<Stadium> Stadiums { get; set; }
        public DbSet<Player> Players { get; set; }
        public DbSet<Category> Categories { get; set; }
        public DbSet<Article> Articles { get; set; }
        public DbSet<Comment> Comments { get; set; }
        public DbSet<Opinion> Opinions { get; set; }
        public DbSet<Video> Videos { get; set; }
        public DbSet<UserProfile> Users { get; set; }
        public DbSet<UserFriendship> Friendships { get; set; }
        public DbSet<PlayerResult> PlayerResults { get; set; }

        public DbSet<MenuItem> MenuItems { get; set; }

        public DbSet<Result> Results { get; set; }
    }
}