sockscape/server/DAL/ScapeDb.Context.cs

32 lines
981 B
C#
Raw Normal View History

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Server.DAL
{
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
public partial class ScapeDbLink : DbContext
{
public ScapeDbLink()
: base("name=ScapeDbLink")
{
}
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
throw new UnintentionalCodeFirstException();
}
public virtual DbSet<Users> Users { get; set; }
public virtual DbSet<Sessions> Sessions { get; set; }
}
}