|
|
|
|
using DSWeb.Areas.MvcShipping.DB;
|
|
|
|
|
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<sys_dept> SysDepts { get; set; }
|
|
|
|
|
public DbSet<UserInfo> Users { get; set; }
|
|
|
|
|
public DbSet<InfoClient> InfoClients { get; set; }
|
|
|
|
|
public DbSet<SysParamSet> ParamSets { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class WxAppDataContext : DbContext
|
|
|
|
|
{
|
|
|
|
|
public WxAppDataContext(string conn) : base(conn)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public WxAppDataContext() : base("DongShengDB")
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.UserInfo> Users { get; set; }
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.vw_user> vw_user { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.VW_OP_WMS_IN_DO> VW_OP_WMS_IN_DO { get; set; }
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.VW_OP_WMS_IN_DO_GOODS> VW_OP_WMS_IN_DO_GOODS { get; set; }
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.VW_INFO_FILES> VW_INFO_FILES { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.INFO_FILES> INFO_FILES { get; set; }
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.Sys_Role_Core> Sys_Role_Core { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.VW_OP_WMS_AREAGOODS> VW_OP_WMS_AREAGOODS { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.OP_WMS_OUT_DO> OP_WMS_OUT_DO { get; set; }
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.VW_OP_WMS_OUT_DO> VW_OP_WMS_OUT_DO { get; set; }
|
|
|
|
|
|
|
|
|
|
//虎鲸箱管的相关表
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.tb_User> tb_User { get; set; }
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.OP_YARD_CTNMNG> OP_YARD_CTNMNG { get; set; }
|
|
|
|
|
public DbSet<DSWeb.Areas.Dispatch.DB_Wx.OP_YARD_CTNMNG_WORK> OP_YARD_CTNMNG_WORK { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<DB_Wx.tb_BlockTrainOrder> tb_BlockTrainOrder { get; set; }
|
|
|
|
|
public DbSet<DB_Wx.VW_OP_YARD_CTNMNG_STOREAREA_CANUSE> VW_OP_YARD_CTNMNG_STOREAREA_CANUSE { get; set; }
|
|
|
|
|
|
|
|
|
|
public DbSet<DB_Wx.VW_OP_YARD_CTNMNG_HUJINGWXHeadList> VW_OP_YARD_CTNMNG_HUJINGWXHeadList { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|