123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- //------------------------------------------------------------------------------
- // <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 EMISOnline.Entities
- {
- using System;
- using System.Data.Common;
- using System.Data.Entity;
- using System.Data.Entity.Infrastructure;
-
- public partial class EMISOnlineContextContainer : DbContext
- {
- static EMISOnlineContextContainer()
- {
- Database.SetInitializer<EMISOnlineContextContainer>(null);
- }
-
- public EMISOnlineContextContainer() : base("name=EMISOnlineContextContainer") {
- var objectContext = (this as IObjectContextAdapter).ObjectContext;
-
- objectContext.CommandTimeout = 12000;
- base.Configuration.ProxyCreationEnabled = false;
- }
- public EMISOnlineContextContainer(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_Campus_Mapping());
- modelBuilder.Configurations.Add(new CF_Classmajor_Mapping());
- modelBuilder.Configurations.Add(new CF_College_Mapping());
- modelBuilder.Configurations.Add(new CF_Department_Mapping());
- modelBuilder.Configurations.Add(new CF_Facultymajor_Mapping());
- modelBuilder.Configurations.Add(new CF_Grademajor_Mapping());
- modelBuilder.Configurations.Add(new CF_Recruitstudents_Mapping());
- modelBuilder.Configurations.Add(new CF_Schoolyear_Mapping());
- modelBuilder.Configurations.Add(new CF_Staff_Mapping());
- modelBuilder.Configurations.Add(new CF_StaffProfile_Mapping());
- modelBuilder.Configurations.Add(new CF_Student_Mapping());
- modelBuilder.Configurations.Add(new CF_StudentContact_Mapping());
- modelBuilder.Configurations.Add(new CF_StudentContrast_Mapping());
- modelBuilder.Configurations.Add(new CF_StudentRole_Mapping());
- modelBuilder.Configurations.Add(new CF_University_Mapping());
- modelBuilder.Configurations.Add(new Coursework_Mapping());
- modelBuilder.Configurations.Add(new CourseworkAnswer_Mapping());
- modelBuilder.Configurations.Add(new CourseworkResult_Mapping());
- modelBuilder.Configurations.Add(new EM_CourseChapter_Mapping());
- modelBuilder.Configurations.Add(new EM_CourseChapter_Video_Mapping());
- modelBuilder.Configurations.Add(new EM_Coursematerial_Mapping());
- modelBuilder.Configurations.Add(new EM_CoursematerialExtend_Mapping());
- modelBuilder.Configurations.Add(new EM_CourseStudyStatus_Mapping());
- modelBuilder.Configurations.Add(new EM_CourseVideo_Mapping());
- modelBuilder.Configurations.Add(new EM_EducationMission_Mapping());
- modelBuilder.Configurations.Add(new EM_EducationMissionClass_Mapping());
- modelBuilder.Configurations.Add(new EM_EducationMissionClass_CF_Classmajor_Mapping());
- modelBuilder.Configurations.Add(new EM_EducationMissionClassTeachingSetting_Mapping());
- modelBuilder.Configurations.Add(new EM_EducationSchedulingClass_Mapping());
- modelBuilder.Configurations.Add(new EM_EducationSchedulingClass_CF_Student_Mapping());
- modelBuilder.Configurations.Add(new EM_ExecutableFreeSelectionCouse_Mapping());
- modelBuilder.Configurations.Add(new EM_ExecutableFreeSelectionCouseTeachingSetting_Mapping());
- modelBuilder.Configurations.Add(new EM_ExecutableOptionalCourse_Mapping());
- modelBuilder.Configurations.Add(new EM_ExecutableOptionalCourseTeachingSetting_Mapping());
- modelBuilder.Configurations.Add(new EM_ExecutablePlan_Mapping());
- modelBuilder.Configurations.Add(new EM_ExecutablePlanTeachingSetting_Mapping());
- modelBuilder.Configurations.Add(new EM_FreeSelectionCouse_Mapping());
- modelBuilder.Configurations.Add(new EM_FTPVideo_Mapping());
- modelBuilder.Configurations.Add(new EM_MissionClassTeacher_Mapping());
- modelBuilder.Configurations.Add(new EM_OptionalCoursePlan_Mapping());
- modelBuilder.Configurations.Add(new EM_SpecialtyCourse_Mapping());
- modelBuilder.Configurations.Add(new EM_SpecialtyCourseTeachingSetting_Mapping());
- modelBuilder.Configurations.Add(new ER_ScoreRule_Mapping());
- modelBuilder.Configurations.Add(new ER_TeacherScore_Mapping());
- modelBuilder.Configurations.Add(new Exam_Log_Mapping());
- modelBuilder.Configurations.Add(new ExamineeAnswer_Mapping());
- modelBuilder.Configurations.Add(new ExamPaper_Mapping());
- modelBuilder.Configurations.Add(new ExamResult_Mapping());
- modelBuilder.Configurations.Add(new ExamResult_backup_20120913_Mapping());
- modelBuilder.Configurations.Add(new ExamSetting_Examiner_Mapping());
- modelBuilder.Configurations.Add(new ExamWarning_Mapping());
- modelBuilder.Configurations.Add(new MSreplication_objects_Mapping());
- modelBuilder.Configurations.Add(new MSreplication_subscriptions_Mapping());
- modelBuilder.Configurations.Add(new MSsavedforeignkeycolumns_Mapping());
- modelBuilder.Configurations.Add(new MSsavedforeignkeyextendedproperties_Mapping());
- modelBuilder.Configurations.Add(new MSsavedforeignkeys_Mapping());
- modelBuilder.Configurations.Add(new MSsnapshotdeliveryprogress_Mapping());
- modelBuilder.Configurations.Add(new MSsubscription_agents_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_LoginCount_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_User_Mapping());
- modelBuilder.Configurations.Add(new Sys_User_Sys_Role_Mapping());
- modelBuilder.Configurations.Add(new test_base_param_Mapping());
- modelBuilder.Configurations.Add(new test_base_param_type_Mapping());
- modelBuilder.Configurations.Add(new test_base_question_type_Mapping());
- modelBuilder.Configurations.Add(new test_comm_param_set_Mapping());
- modelBuilder.Configurations.Add(new test_comm_set_Mapping());
- modelBuilder.Configurations.Add(new test_exchange_Mapping());
- modelBuilder.Configurations.Add(new test_keyword_Mapping());
- modelBuilder.Configurations.Add(new test_onlinetest_Mapping());
- modelBuilder.Configurations.Add(new test_onlinetest_man_Mapping());
- modelBuilder.Configurations.Add(new test_onlinetest_manshow_Mapping());
- modelBuilder.Configurations.Add(new test_paper_Mapping());
- modelBuilder.Configurations.Add(new test_paper_guide_Mapping());
- modelBuilder.Configurations.Add(new test_paper_question_set_Mapping());
- modelBuilder.Configurations.Add(new test_paper_question_set_fortest_Mapping());
- modelBuilder.Configurations.Add(new test_question_Mapping());
- modelBuilder.Configurations.Add(new test_question_administrator_Mapping());
- modelBuilder.Configurations.Add(new test_question_file_Mapping());
- modelBuilder.Configurations.Add(new test_question_keyword_Mapping());
- modelBuilder.Configurations.Add(new test_question_libary_Mapping());
- modelBuilder.Configurations.Add(new test_question_provid_answer_Mapping());
- modelBuilder.Configurations.Add(new v_question_Mapping());
- modelBuilder.Configurations.Add(new V_StudentEducationMissionClass_Mapping());
- modelBuilder.Configurations.Add(new v_test_question_Mapping());
- modelBuilder.Configurations.Add(new VTestQestion_Mapping());
- }
-
- public DbSet<CF_Campus> CF_Campus { get; set; }
- public DbSet<CF_Classmajor> CF_Classmajor { get; set; }
- public DbSet<CF_College> CF_College { get; set; }
- public DbSet<CF_Department> CF_Department { get; set; }
- public DbSet<CF_Facultymajor> CF_Facultymajor { get; set; }
- public DbSet<CF_Grademajor> CF_Grademajor { get; set; }
- public DbSet<CF_Recruitstudents> CF_Recruitstudents { get; set; }
- public DbSet<CF_Schoolyear> CF_Schoolyear { get; set; }
- public DbSet<CF_Staff> CF_Staff { get; set; }
- public DbSet<CF_StaffProfile> CF_StaffProfile { get; set; }
- public DbSet<CF_Student> CF_Student { get; set; }
- public DbSet<CF_StudentContact> CF_StudentContact { get; set; }
- public DbSet<CF_StudentContrast> CF_StudentContrast { get; set; }
- public DbSet<CF_StudentRole> CF_StudentRole { get; set; }
- public DbSet<CF_University> CF_University { get; set; }
- public DbSet<Coursework> Coursework { get; set; }
- public DbSet<CourseworkAnswer> CourseworkAnswer { get; set; }
- public DbSet<CourseworkResult> CourseworkResult { get; set; }
- public DbSet<EM_CourseChapter> EM_CourseChapter { get; set; }
- public DbSet<EM_CourseChapter_Video> EM_CourseChapter_Video { get; set; }
- public DbSet<EM_Coursematerial> EM_Coursematerial { get; set; }
- public DbSet<EM_CoursematerialExtend> EM_CoursematerialExtend { get; set; }
- public DbSet<EM_CourseStudyStatus> EM_CourseStudyStatus { get; set; }
- public DbSet<EM_CourseVideo> EM_CourseVideo { get; set; }
- public DbSet<EM_EducationMission> EM_EducationMission { get; set; }
- public DbSet<EM_EducationMissionClass> EM_EducationMissionClass { get; set; }
- public DbSet<EM_EducationMissionClass_CF_Classmajor> EM_EducationMissionClass_CF_Classmajor { get; set; }
- public DbSet<EM_EducationMissionClassTeachingSetting> EM_EducationMissionClassTeachingSetting { get; set; }
- public DbSet<EM_EducationSchedulingClass> EM_EducationSchedulingClass { get; set; }
- public DbSet<EM_EducationSchedulingClass_CF_Student> EM_EducationSchedulingClass_CF_Student { get; set; }
- public DbSet<EM_ExecutableFreeSelectionCouse> EM_ExecutableFreeSelectionCouse { get; set; }
- public DbSet<EM_ExecutableFreeSelectionCouseTeachingSetting> EM_ExecutableFreeSelectionCouseTeachingSetting { get; set; }
- public DbSet<EM_ExecutableOptionalCourse> EM_ExecutableOptionalCourse { get; set; }
- public DbSet<EM_ExecutableOptionalCourseTeachingSetting> EM_ExecutableOptionalCourseTeachingSetting { get; set; }
- public DbSet<EM_ExecutablePlan> EM_ExecutablePlan { get; set; }
- public DbSet<EM_ExecutablePlanTeachingSetting> EM_ExecutablePlanTeachingSetting { get; set; }
- public DbSet<EM_FreeSelectionCouse> EM_FreeSelectionCouse { get; set; }
- public DbSet<EM_FTPVideo> EM_FTPVideo { get; set; }
- public DbSet<EM_MissionClassTeacher> EM_MissionClassTeacher { get; set; }
- public DbSet<EM_OptionalCoursePlan> EM_OptionalCoursePlan { get; set; }
- public DbSet<EM_SpecialtyCourse> EM_SpecialtyCourse { get; set; }
- public DbSet<EM_SpecialtyCourseTeachingSetting> EM_SpecialtyCourseTeachingSetting { get; set; }
- public DbSet<ER_ScoreRule> ER_ScoreRule { get; set; }
- public DbSet<ER_TeacherScore> ER_TeacherScore { get; set; }
- public DbSet<Exam_Log> Exam_Log { get; set; }
- public DbSet<ExamineeAnswer> ExamineeAnswer { get; set; }
- public DbSet<ExamPaper> ExamPaper { get; set; }
- public DbSet<ExamResult> ExamResult { get; set; }
- public DbSet<ExamResult_backup_20120913> ExamResult_backup_20120913 { get; set; }
- public DbSet<ExamSetting_Examiner> ExamSetting_Examiner { get; set; }
- public DbSet<ExamWarning> ExamWarning { get; set; }
- public DbSet<MSreplication_objects> MSreplication_objects { get; set; }
- public DbSet<MSreplication_subscriptions> MSreplication_subscriptions { get; set; }
- public DbSet<MSsavedforeignkeycolumns> MSsavedforeignkeycolumns { get; set; }
- public DbSet<MSsavedforeignkeyextendedproperties> MSsavedforeignkeyextendedproperties { get; set; }
- public DbSet<MSsavedforeignkeys> MSsavedforeignkeys { get; set; }
- public DbSet<MSsnapshotdeliveryprogress> MSsnapshotdeliveryprogress { get; set; }
- public DbSet<MSsubscription_agents> MSsubscription_agents { 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_LoginCount> Sys_LoginCount { 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_User> Sys_User { get; set; }
- public DbSet<Sys_User_Sys_Role> Sys_User_Sys_Role { get; set; }
- public DbSet<test_base_param> test_base_param { get; set; }
- public DbSet<test_base_param_type> test_base_param_type { get; set; }
- public DbSet<test_base_question_type> test_base_question_type { get; set; }
- public DbSet<test_comm_param_set> test_comm_param_set { get; set; }
- public DbSet<test_comm_set> test_comm_set { get; set; }
- public DbSet<test_exchange> test_exchange { get; set; }
- public DbSet<test_keyword> test_keyword { get; set; }
- public DbSet<test_onlinetest> test_onlinetest { get; set; }
- public DbSet<test_onlinetest_man> test_onlinetest_man { get; set; }
- public DbSet<test_onlinetest_manshow> test_onlinetest_manshow { get; set; }
- public DbSet<test_paper> test_paper { get; set; }
- public DbSet<test_paper_guide> test_paper_guide { get; set; }
- public DbSet<test_paper_question_set> test_paper_question_set { get; set; }
- public DbSet<test_paper_question_set_fortest> test_paper_question_set_fortest { get; set; }
- public DbSet<test_question> test_question { get; set; }
- public DbSet<test_question_administrator> test_question_administrator { get; set; }
- public DbSet<test_question_file> test_question_file { get; set; }
- public DbSet<test_question_keyword> test_question_keyword { get; set; }
- public DbSet<test_question_libary> test_question_libary { get; set; }
- public DbSet<test_question_provid_answer> test_question_provid_answer { get; set; }
- public DbSet<v_question> v_question { get; set; }
- public DbSet<V_StudentEducationMissionClass> V_StudentEducationMissionClass { get; set; }
- public DbSet<v_test_question> v_test_question { get; set; }
- public DbSet<VTestQestion> VTestQestion { get; set; }
- }
- }
|