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.

26 lines
637 B
C#

using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace DSWeb.Areas.Storage.DB
{
public class DataContext: DbContext
{
public DataContext(string conn) : base(conn)
{
}
public DataContext() : base("DongShengDB")
{
}
public DbSet<UserRegistInfo> UserRegist { get; set; }
public DbSet<MpConfigInfo> MpConfigs { get; set; }
public DbSet<IndoInfo> IndoInfo { get; set; }
public DbSet<OutdoInfo> OutdoInfo { get; set; }
public DbSet<KuCunInfo> KuCunInfo { get; set; }
}
}