You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/Dispatch/DB/DataContext.cs

52 lines
1.8 KiB
C#

3 years ago
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace DSWeb.Areas.Dispatch.DB
{
public class DataContext : DbContext
{
public DataContext(string conn) : base(conn)
{
}
public DataContext() : base("DongShengDB")
{
}
public DbSet<DriverInfo> Drivers { get; set; }
public DbSet<InfoClient> InfoClients { get; set; }
public DbSet<MpConfigInfo> MpConfigs { get; set; }
public DbSet<OpLetterTruckInfo> OpLetterTrucks { get; set; }
public DbSet<OpSeaeInfo> OpSeaes { get; set; }
public DbSet<OpSeaiInfo> OpSeais { get; set; }
public DbSet<ChFeeInfo> ChFees { get; set; }
public DbSet<GrabInfo> Grabs { get; set; }
public DbSet<OpStatusInfo> OpStatus { get; set; }
public DbSet<OpLetter> OpLetters { get; set; }
public DbSet<OpTaskInfo> OpTasks { get; set; }
public DbSet<UserInfo> Users { get; set; }
public DbSet<ReceiptDoc> ReceiptDocs { get; set; }
public DbSet<DispInfoClient> DispInfoClients { get; set; }
public DbSet<Op_SeaPrice_Contract> Op_SeaPrice_Contract { get; set; }
public DbSet<Op_SeaPrice_Contract_Way> Op_SeaPrice_Contract_Way { get; set; }
public DbSet<Op_SeaPrice_Contract_Detail> Op_SeaPrice_Contract_Detail { get; set; }
public DbSet<Op_SeaPrice_Contract_PortDetention> Op_SeaPrice_Contract_PortDetention { get; set; }
public DbSet<Op_SeaPrice_Quotation> Op_SeaPrice_Quotation { get; set; }
public DbSet<Op_SeaPrice_Quotation_Detail> Op_SeaPrice_Quotation_Detail { get; set; }
public DbSet<Op_SeaPrice_Quotation_ZaFeiList> Op_SeaPrice_Quotation_ZaFeiList { get; set; }
}
}