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/MvcShipping/DB/RuleContext.cs

22 lines
460 B
C#

2 years ago
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace DSWeb.Areas.MvcShipping.DB
{
public class RuleContext : DbContext
{
public RuleContext()
: base("DongShengDB")
{
}
public DbSet<OpRule> Rules { get; set; }
public DbSet<OpRuleItem> RuleItems { get; set; }
public DbSet<SysEnumValue> EnumValues { get; set; }
}
}