using DSWeb.Areas.MvcShipping.DB; using DSWeb.Areas.TruckMng.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace DSWeb.Areas.Dispatch.DB { public class CommonDataContext : DbContext { public CommonDataContext(string conn) : base(conn) { } public CommonDataContext() : base("DongShengDB") { } public DbSet SysDepts { get; set; } public DbSet Users { get; set; } public DbSet InfoClients { get; set; } public DbSet ParamSets { get; set; } } public class WxAppDataContext : DbContext { public WxAppDataContext(string conn) : base(conn) { } public WxAppDataContext() : base("DongShengDB") { } public DbSet Users { get; set; } public DbSet vw_user { get; set; } public DbSet VW_OP_WMS_IN_DO { get; set; } public DbSet VW_OP_WMS_IN_DO_GOODS { get; set; } public DbSet VW_INFO_FILES { get; set; } public DbSet INFO_FILES { get; set; } public DbSet Sys_Role_Core { get; set; } public DbSet VW_OP_WMS_AREAGOODS { get; set; } public DbSet OP_WMS_OUT_DO { get; set; } public DbSet VW_OP_WMS_OUT_DO { get; set; } //虎鲸箱管的相关表 public DbSet tb_User { get; set; } public DbSet OP_YARD_CTNMNG { get; set; } public DbSet OP_YARD_CTNMNG_WORK { get; set; } public DbSet tb_BlockTrainOrder { get; set; } public DbSet VW_OP_YARD_CTNMNG_STOREAREA_CANUSE { get; set; } public DbSet VW_OP_YARD_CTNMNG_HUJINGWXHeadList { get; set; } } }