public DepartmentModel(Department d)
 {
     _department = d;
      populate();
 }
        public static void buildColleges()
        {
            College AHS = new College();
            AHS.Name = "College of Arts, Humanities, and Social Sciences";
            AHS.Description = "College of Arts, Humanities, and Social Sciences";

            Department English = new Department();
            English.Name = "ENGL";
            English.Description = "Department of English";
            English.College = AHS;

            Department History = new Department();
            History.Name = "HIST";
            History.Description = "Department of History and Political Sciences";
            History.College = AHS;

            Department Comms = new Department();
            Comms.College = AHS;
            Comms.Description = "Department of Languages and Communication";

            Department Music = new Department();
            Music.College = AHS;
            Music.Description = "Department of Music and Dramatic Arts";

            Department Psychology = new Department();
            Psychology.College = AHS;
            Psychology.Description = "Department of Psychology";

            Department Socio = new Department();
            Socio.College = AHS;

            Department Cultur = new Department();
            Cultur.College = AHS;

            College BUS = new College();
            BUS.Name= BUS.Description = "College of Business";

            College GEN = new College();
            GEN.Name = GEN.Description = "Division of General Studies";

            College ED = new College();
            ED.Name=ED.Description = "College of Education and Human Development";

            College NUR = new College();
            NUR.Name=NUR.Description  = "College of Nursing and Health Studies";

            College SCI = new College();
            SCI.Description = SCI.Name = "College of Science and Technology";

            College WIN = new College();
            WIN.Description=WIN.Name = "College of Winning";

            /*Department of English
            Department of History and Political Sciences
            Department of Languages and Communication
            Department of Music and Dramatic Arts
            Department of Psychology
            Department of Sociology and Criminal Justice
            Department of Visual Arts
            Cultural Resource Management Program
            Department of Accounting and Finance
            Department of Management and Business Administration
            Department of Marketing and Supply Chain Management
            Master of Business Administration Graduate Program
            Department of Educational Leadership and Technology
            Department of Counseling and Human Development
            Department of Teaching and Learning
            Department of Communication Sciences and Disorders
            Department of Kinesiology and Health Studies
            School of Nursing
            Department of Biological Sciences
            Department of Chemistry and Physics
            Department of Computer Science and Industrial Technology
            Department of Mathematics
            Integrated Science and Technology Program*/
        }
 partial void DeleteDepartment(Department instance);
 partial void UpdateDepartment(Department instance);
 partial void InsertDepartment(Department instance);
		private void detach_Departments(Department entity)
		{
			this.SendPropertyChanging();
			entity.College = null;
		}