DS7/BookingWeb/DB/BookingDB.cs

31 lines
842 B
C#

using BookingWeb.DB.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace BookingWeb.DB
{
public class BookingDB : DbContext
{
public BookingDB():base("BookingDB")
{
}
public DbSet<SysClient> Clients { get; set; }
public DbSet<SysUser> Users { get; set; }
public DbSet<OP_SEAE_ORDER> Orders { get; set; }
public DbSet<OP_CTN> Ctns { get; set; }
public DbSet<OP_CTN_DETAIL> CtnDetails { get; set; }
public DbSet<OP_TEMPLATE> Templates { get; set; }
public DbSet<OP_SEAE_SI> Confirms { get; set; }
public DbSet<OP_STATUS_LOG> StatusLogs { get; set; }
public DbSet<OP_LOG> Logs { get; set; }
public DbSet<OP_SEND_MAIL> SendMails { get; set; }
}
}