//------------------------------------------------------------------------------
//
// Этот код создан по шаблону.
//
// Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
// Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
//
//------------------------------------------------------------------------------
namespace WpfApp1.Entities
{
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
public partial class user7Entities : DbContext
{
private static user7Entities _context;
public user7Entities()
: base("name=user7Entities")
{
}
public static user7Entities GetContext()
{
if (_context == null)
_context = new user7Entities();
return _context;
}
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
throw new UnintentionalCodeFirstException();
}
public virtual DbSet Executor { get; set; }
public virtual DbSet Manager { get; set; }
public virtual DbSet Task { get; set; }
public virtual DbSet User { get; set; }
}
}