﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace PhotoSharingApplication.Models
{
    public class PhotoSharingContext : DbContext
    {
        public PhotoSharingContext()
            : base("name=PhotoSharingContext")
        {
        }

        public DbSet<Photo> Photos { get; set; }

        public DbSet<Comment> Comments { get; set; }
    }
}