//------------------------------------------------------------------------------
//
// Этот код создан по шаблону.
//
// Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
// Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
//
//------------------------------------------------------------------------------
namespace WpfApp1.Entities
{
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
public partial class user20Entities : DbContext
{
private static user20Entities _context;
public user20Entities()
: base("name=user20Entities")
{
}
public static user20Entities GetContext()
{
if (_context == null)
_context = new user20Entities();
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; }
}
}