|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace MovieFinder.Data
|
|
|
{
|
|
|
using System;
|
|
|
using System.Data.Entity;
|
|
|
using System.Data.Entity.Infrastructure;
|
|
|
|
|
|
public partial class MovieFinderEntities : DbContext
|
|
|
{
|
|
|
public MovieFinderEntities()
|
|
|
: base("name=MovieFinderEntities")
|
|
|
{
|
|
|
}
|
|
|
|
|
|
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
|
|
{
|
|
|
throw new UnintentionalCodeFirstException();
|
|
|
}
|
|
|
|
|
|
public DbSet<MovieLink> MovieLinks { get; set; }
|
|
|
public DbSet<Movie> Movies { get; set; }
|
|
|
public DbSet<VisitorProfile> VisitorProfiles { get; set; }
|
|
|
public DbSet<Plugin> Plugins { get; set; }
|
|
|
}
|
|
|
}
|
|
|
|