[c#]代码库
public class DataConnetor : DbContext
{
private readonly static string ConnetString = "name=Db_connetstring";
public DbSet<Article> article { get; set; }
public DbSet<Right> right { get; set; }
public DbSet<WebUser> WebUser { get; set; }
public DbSet<UserGroup> usergroup { get; set; }
public DbSet<EntInfoMation> EntInfoMation { get; set; }
public DbSet<Examination> Examination { get; set; }
public DbSet<Files> Files { get; set; }
public DbSet<GoodBehavior> GoodBehavior { get; set; }
public DbSet<Integrity> Integrity { get; set; }
public DbSet<License> License { get; set; }
public DbSet<MainProduct> MainProduct { get; set; }
public DbSet<SafetyIssues> SafetyIssues { get; set; }
public DataConnetor()
: base(ConnetString)
{
}
}
by: 发表于:2017-12-18 09:39:03 顶(0) | 踩(0) 回复
??
回复评论