123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated from a template.
- //
- // Manual changes to this file may cause unexpected behavior in your application.
- // Manual changes to this file will be overwritten if the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- #pragma warning disable 1573
- namespace EMIS.Entities
- {
- using System;
- using System.Data.Common;
- using System.Data.Entity;
- using System.Data.Entity.Infrastructure;
-
- public partial class EMISNewContext : DbContext
- {
- static EMISNewContext()
- {
- Database.SetInitializer<EMISNewContext>(null);
- }
-
- public EMISNewContext() : base("name=EMISNewContext") {
- var objectContext = (this as IObjectContextAdapter).ObjectContext;
-
- objectContext.CommandTimeout = 12000;
- base.Configuration.ProxyCreationEnabled = false;
- }
- public EMISNewContext(string nameOrConnectionString) : base(nameOrConnectionString) {
- var objectContext = (this as IObjectContextAdapter).ObjectContext;
-
- objectContext.CommandTimeout = 12000;
- base.Configuration.ProxyCreationEnabled = false;
- }
- protected override void OnModelCreating(DbModelBuilder modelBuilder)
- {
- modelBuilder.Conventions.Remove<IncludeMetadataConvention>();
- modelBuilder.Configurations.Add(new CF_Arrangements_Mapping());
- modelBuilder.Configurations.Add(new CF_Campus_Mapping());
- modelBuilder.Configurations.Add(new CF_CampusProfile_Mapping());
- modelBuilder.Configurations.Add(new CF_Classmajor_Mapping());
- modelBuilder.Configurations.Add(new CF_College_Mapping());
- modelBuilder.Configurations.Add(new CF_CollegeProfile_Mapping());
- modelBuilder.Configurations.Add(new CF_DataCenterCodeTranslate_Mapping());
- modelBuilder.Configurations.Add(new CF_Department_Mapping());
- modelBuilder.Configurations.Add(new CF_DepartmentProfile_Mapping());
- modelBuilder.Configurations.Add(new CF_Facultymajor_Mapping());
- modelBuilder.Configurations.Add(new CF_Grademajor_Mapping());
- modelBuilder.Configurations.Add(new CF_InSchoolSetting_Mapping());
- modelBuilder.Configurations.Add(new CF_Parameter_Mapping());
- modelBuilder.Configurations.Add(new CF_Recruitstudents_Mapping());
- modelBuilder.Configurations.Add(new CF_Schoolyear_Mapping());
- modelBuilder.Configurations.Add(new CF_SocialClassmajor_Mapping());
- modelBuilder.Configurations.Add(new CF_Specialty_Mapping());
- modelBuilder.Configurations.Add(new CF_Staff_Mapping());
- modelBuilder.Configurations.Add(new CF_StaffManageCampus_Mapping());
- modelBuilder.Configurations.Add(new CF_StaffManageCollege_Mapping());
- modelBuilder.Configurations.Add(new CF_StaffManageDepartment_Mapping());
- modelBuilder.Configurations.Add(new CF_StaffProfile_Mapping());
- modelBuilder.Configurations.Add(new CF_Student_Mapping());
- modelBuilder.Configurations.Add(new CF_StudentAccount_Mapping());
- modelBuilder.Configurations.Add(new CF_StudentContact_Mapping());
- modelBuilder.Configurations.Add(new CF_StudentProfile_Mapping());
- modelBuilder.Configurations.Add(new CF_StudentRole_Mapping());
- modelBuilder.Configurations.Add(new CF_University_Mapping());
- modelBuilder.Configurations.Add(new CF_UniversityProfile_Mapping());
- modelBuilder.Configurations.Add(new CF_WechatPayList_Mapping());
- modelBuilder.Configurations.Add(new CF_WechatSubscribe_Mapping());
- modelBuilder.Configurations.Add(new EM_CoursesTime_Mapping());
- modelBuilder.Configurations.Add(new EM_ExaminationMessage_Mapping());
- modelBuilder.Configurations.Add(new EM_TrainingClass_Mapping());
- modelBuilder.Configurations.Add(new ER_CertisfierDistribute_Mapping());
- modelBuilder.Configurations.Add(new ER_ExaminationScore_Mapping());
- modelBuilder.Configurations.Add(new ER_LevelSetting_Mapping());
- modelBuilder.Configurations.Add(new ER_LevelSettingSubject_Mapping());
- modelBuilder.Configurations.Add(new ER_ProjectScore_Mapping());
- modelBuilder.Configurations.Add(new ER_Resit_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationBatch_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationBatchProject_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationBatchProjectControl_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationBatchProjectPersonControl_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationProject_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationProjectCollegeControl_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationProjectCountLimit_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationProjectFee_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationProjectFeeType_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationProjectSubject_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationRegistration_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationRegistrationConfirm_Mapping());
- modelBuilder.Configurations.Add(new EX_ExaminationType_Mapping());
- modelBuilder.Configurations.Add(new EX_InvalidReceipt_Mapping());
- modelBuilder.Configurations.Add(new EX_Receipt_Mapping());
- modelBuilder.Configurations.Add(new Sys_Announcement_Mapping());
- modelBuilder.Configurations.Add(new Sys_AnnouncementType_Mapping());
- modelBuilder.Configurations.Add(new Sys_BatchModify_Mapping());
- modelBuilder.Configurations.Add(new Sys_BatchModifyEvents_Mapping());
- modelBuilder.Configurations.Add(new Sys_BatchModifyExpand_Mapping());
- modelBuilder.Configurations.Add(new Sys_ConfiguretermsExpand_Mapping());
- modelBuilder.Configurations.Add(new Sys_ConfiguretermsInfo_Mapping());
- modelBuilder.Configurations.Add(new Sys_ContextMenu_Mapping());
- modelBuilder.Configurations.Add(new Sys_ControlItem_Mapping());
- modelBuilder.Configurations.Add(new Sys_ControlItemDetail_Mapping());
- modelBuilder.Configurations.Add(new Sys_Dictionary_Mapping());
- modelBuilder.Configurations.Add(new Sys_DictionaryItem_Mapping());
- modelBuilder.Configurations.Add(new Sys_FunctionCode_Mapping());
- modelBuilder.Configurations.Add(new Sys_LoginHistory_Mapping());
- modelBuilder.Configurations.Add(new Sys_MailVerifyCode_Mapping());
- modelBuilder.Configurations.Add(new Sys_Menu_Mapping());
- modelBuilder.Configurations.Add(new Sys_Role_Mapping());
- modelBuilder.Configurations.Add(new Sys_RoleDataRange_Mapping());
- modelBuilder.Configurations.Add(new Sys_ScheduleJob_Mapping());
- modelBuilder.Configurations.Add(new Sys_ScheduleLog_Mapping());
- modelBuilder.Configurations.Add(new Sys_Scheduling_Mapping());
- modelBuilder.Configurations.Add(new Sys_SerialNumber_Mapping());
- modelBuilder.Configurations.Add(new Sys_ShareRecord_Mapping());
- modelBuilder.Configurations.Add(new Sys_User_Mapping());
- modelBuilder.Configurations.Add(new Sys_UserScore_Mapping());
- modelBuilder.Configurations.Add(new TestOperate_Mapping());
- }
-
- public DbSet<CF_Arrangements> CF_Arrangements { get; set; }
- public DbSet<CF_Campus> CF_Campus { get; set; }
- public DbSet<CF_CampusProfile> CF_CampusProfile { get; set; }
- public DbSet<CF_Classmajor> CF_Classmajor { get; set; }
- public DbSet<CF_College> CF_College { get; set; }
- public DbSet<CF_CollegeProfile> CF_CollegeProfile { get; set; }
- public DbSet<CF_DataCenterCodeTranslate> CF_DataCenterCodeTranslate { get; set; }
- public DbSet<CF_Department> CF_Department { get; set; }
- public DbSet<CF_DepartmentProfile> CF_DepartmentProfile { get; set; }
- public DbSet<CF_Facultymajor> CF_Facultymajor { get; set; }
- public DbSet<CF_Grademajor> CF_Grademajor { get; set; }
- public DbSet<CF_InSchoolSetting> CF_InSchoolSetting { get; set; }
- public DbSet<CF_Parameter> CF_Parameter { get; set; }
- public DbSet<CF_Recruitstudents> CF_Recruitstudents { get; set; }
- public DbSet<CF_Schoolyear> CF_Schoolyear { get; set; }
- public DbSet<CF_SocialClassmajor> CF_SocialClassmajor { get; set; }
- public DbSet<CF_Specialty> CF_Specialty { get; set; }
- public DbSet<CF_Staff> CF_Staff { get; set; }
- public DbSet<CF_StaffManageCampus> CF_StaffManageCampus { get; set; }
- public DbSet<CF_StaffManageCollege> CF_StaffManageCollege { get; set; }
- public DbSet<CF_StaffManageDepartment> CF_StaffManageDepartment { get; set; }
- public DbSet<CF_StaffProfile> CF_StaffProfile { get; set; }
- public DbSet<CF_Student> CF_Student { get; set; }
- public DbSet<CF_StudentAccount> CF_StudentAccount { get; set; }
- public DbSet<CF_StudentContact> CF_StudentContact { get; set; }
- public DbSet<CF_StudentProfile> CF_StudentProfile { get; set; }
- public DbSet<CF_StudentRole> CF_StudentRole { get; set; }
- public DbSet<CF_University> CF_University { get; set; }
- public DbSet<CF_UniversityProfile> CF_UniversityProfile { get; set; }
- public DbSet<CF_WechatPayList> CF_WechatPayList { get; set; }
- public DbSet<CF_WechatSubscribe> CF_WechatSubscribe { get; set; }
- public DbSet<EM_CoursesTime> EM_CoursesTime { get; set; }
- public DbSet<EM_ExaminationMessage> EM_ExaminationMessage { get; set; }
- public DbSet<EM_TrainingClass> EM_TrainingClass { get; set; }
- public DbSet<ER_CertisfierDistribute> ER_CertisfierDistribute { get; set; }
- public DbSet<ER_ExaminationScore> ER_ExaminationScore { get; set; }
- public DbSet<ER_LevelSetting> ER_LevelSetting { get; set; }
- public DbSet<ER_LevelSettingSubject> ER_LevelSettingSubject { get; set; }
- public DbSet<ER_ProjectScore> ER_ProjectScore { get; set; }
- public DbSet<ER_Resit> ER_Resit { get; set; }
- public DbSet<EX_ExaminationBatch> EX_ExaminationBatch { get; set; }
- public DbSet<EX_ExaminationBatchProject> EX_ExaminationBatchProject { get; set; }
- public DbSet<EX_ExaminationBatchProjectControl> EX_ExaminationBatchProjectControl { get; set; }
- public DbSet<EX_ExaminationBatchProjectPersonControl> EX_ExaminationBatchProjectPersonControl { get; set; }
- public DbSet<EX_ExaminationProject> EX_ExaminationProject { get; set; }
- public DbSet<EX_ExaminationProjectCollegeControl> EX_ExaminationProjectCollegeControl { get; set; }
- public DbSet<EX_ExaminationProjectCountLimit> EX_ExaminationProjectCountLimit { get; set; }
- public DbSet<EX_ExaminationProjectFee> EX_ExaminationProjectFee { get; set; }
- public DbSet<EX_ExaminationProjectFeeType> EX_ExaminationProjectFeeType { get; set; }
- public DbSet<EX_ExaminationProjectSubject> EX_ExaminationProjectSubject { get; set; }
- public DbSet<EX_ExaminationRegistration> EX_ExaminationRegistration { get; set; }
- public DbSet<EX_ExaminationRegistrationConfirm> EX_ExaminationRegistrationConfirm { get; set; }
- public DbSet<EX_ExaminationType> EX_ExaminationType { get; set; }
- public DbSet<EX_InvalidReceipt> EX_InvalidReceipt { get; set; }
- public DbSet<EX_Receipt> EX_Receipt { get; set; }
- public DbSet<Sys_Announcement> Sys_Announcement { get; set; }
- public DbSet<Sys_AnnouncementType> Sys_AnnouncementType { get; set; }
- public DbSet<Sys_BatchModify> Sys_BatchModify { get; set; }
- public DbSet<Sys_BatchModifyEvents> Sys_BatchModifyEvents { get; set; }
- public DbSet<Sys_BatchModifyExpand> Sys_BatchModifyExpand { get; set; }
- public DbSet<Sys_ConfiguretermsExpand> Sys_ConfiguretermsExpand { get; set; }
- public DbSet<Sys_ConfiguretermsInfo> Sys_ConfiguretermsInfo { get; set; }
- public DbSet<Sys_ContextMenu> Sys_ContextMenu { get; set; }
- public DbSet<Sys_ControlItem> Sys_ControlItem { get; set; }
- public DbSet<Sys_ControlItemDetail> Sys_ControlItemDetail { get; set; }
- public DbSet<Sys_Dictionary> Sys_Dictionary { get; set; }
- public DbSet<Sys_DictionaryItem> Sys_DictionaryItem { get; set; }
- public DbSet<Sys_FunctionCode> Sys_FunctionCode { get; set; }
- public DbSet<Sys_LoginHistory> Sys_LoginHistory { get; set; }
- public DbSet<Sys_MailVerifyCode> Sys_MailVerifyCode { get; set; }
- public DbSet<Sys_Menu> Sys_Menu { get; set; }
- public DbSet<Sys_Role> Sys_Role { get; set; }
- public DbSet<Sys_RoleDataRange> Sys_RoleDataRange { get; set; }
- public DbSet<Sys_ScheduleJob> Sys_ScheduleJob { get; set; }
- public DbSet<Sys_ScheduleLog> Sys_ScheduleLog { get; set; }
- public DbSet<Sys_Scheduling> Sys_Scheduling { get; set; }
- public DbSet<Sys_SerialNumber> Sys_SerialNumber { get; set; }
- public DbSet<Sys_ShareRecord> Sys_ShareRecord { get; set; }
- public DbSet<Sys_User> Sys_User { get; set; }
- public DbSet<Sys_UserScore> Sys_UserScore { get; set; }
- public DbSet<TestOperate> TestOperate { get; set; }
- }
- }
|