123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 此代码已从模板生成。
- //
- // 手动更改此文件可能导致应用程序出现意外的行为。
- // 如果重新生成代码,将覆盖对此文件的手动更改。
- // </auto-generated>
- //------------------------------------------------------------------------------
- namespace EMIS.Entities.DataCenter
- {
- using System;
- using System.Data.Entity;
- using System.Data.Entity.Infrastructure;
-
- public partial class DataCenterContextContainer : DbContext
- {
- public DataCenterContextContainer()
- : base("name=DataCenterContextContainer")
- {
- var objectContext = (this as IObjectContextAdapter).ObjectContext;
- objectContext.CommandTimeout = 12000;
- base.Configuration.ProxyCreationEnabled = false;
- }
- static DataCenterContextContainer()
- {
- Database.SetInitializer<DataCenterContextContainer>(null);
- }
- public DataCenterContextContainer(string nameOrConnectionString) : base(nameOrConnectionString) {
- var objectContext = (this as IObjectContextAdapter).ObjectContext;
-
- objectContext.CommandTimeout = 12000;
- base.Configuration.ProxyCreationEnabled = false;
- }
-
- protected override void OnModelCreating(DbModelBuilder modelBuilder)
- {
- throw new UnintentionalCodeFirstException();
- }
-
- public virtual DbSet<XB_BJDM> XB_BJDM { get; set; }
- public virtual DbSet<XB_BXZY> XB_BXZY { get; set; }
- public virtual DbSet<XB_DWBM> XB_DWBM { get; set; }
- public virtual DbSet<XS_LXXX> XS_LXXX { get; set; }
- public virtual DbSet<XS_XJYD> XS_XJYD { get; set; }
- public virtual DbSet<XS_XSJBXX> XS_XSJBXX { get; set; }
- }
- }
|