using System;
using System.Collections.Generic;
using System.Data.Entity;
using PcInventory_v1_1.Models;
using System.Data.Entity.ModelConfiguration.Conventions;


namespace PcInventory_v1_1.Models
{
    public class pcinvnetory : DbContext
    {
        public DbSet<Asset> Assets { get; set; }
        public DbSet<Department> Departments { get; set; }
        public DbSet<DeviceInformation> DeviceInformations { get; set; }
        public DbSet<DeviceType> DeviceTypes { get; set; }
        public DbSet<Division> Divisions { get; set; }
        public DbSet<Employee> Employees { get; set; }
        public DbSet<EmployeeAsset> EmployeeAssets { get; set; }
        public DbSet<Vendor> Vendors { get; set; }
        public DbSet<LeaseTotalByYear> LeaseTotalByYears { get; set; }
        public DbSet<LogChild> LogChilds { get; set; }
        public DbSet<LogParent> LogParents { get; set; }
        public DbSet<Section> Sections { get; set; }
        public DbSet<Supplier> Suppliers { get; set; }
        public DbSet<TurnaroundDump> TurnaroundDumps { get; set; }
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
        }
    }
}