/// <summary> /// Create a new University object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="universityType">Initial value of the UniversityType property.</param> /// <param name="subjection">Initial value of the Subjection property.</param> /// <param name="educationLevel">Initial value of the EducationLevel property.</param> /// <param name="schoolType">Initial value of the SchoolType property.</param> /// <param name="is985">Initial value of the Is985 property.</param> /// <param name="is211">Initial value of the Is211 property.</param> /// <param name="isNational">Initial value of the IsNational property.</param> /// <param name="provinceId">Initial value of the ProvinceId property.</param> public static University CreateUniversity(global::System.Guid id, global::System.String name, global::System.String universityType, global::System.String subjection, global::System.String educationLevel, global::System.String schoolType, global::System.Boolean is985, global::System.Boolean is211, global::System.Boolean isNational, global::System.Guid provinceId) { University university = new University(); university.Id = id; university.Name = name; university.UniversityType = universityType; university.Subjection = subjection; university.EducationLevel = educationLevel; university.SchoolType = schoolType; university.Is985 = is985; university.Is211 = is211; university.IsNational = isNational; university.ProvinceId = provinceId; return university; }
/// <summary> /// Deprecated Method for adding a new object to the Universities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUniversities(University university) { base.AddObject("Universities", university); }
/// <summary> /// Create a new University object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="universityType">Initial value of the UniversityType property.</param> /// <param name="kind">Initial value of the Kind property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="isEducationDepartment">Initial value of the IsEducationDepartment property.</param> /// <param name="is985">Initial value of the Is985 property.</param> /// <param name="is211">Initial value of the Is211 property.</param> /// <param name="zone">Initial value of the Zone property.</param> public static University CreateUniversity(global::System.Guid id, global::System.String name, global::System.String universityType, global::System.String kind, global::System.String address, global::System.Boolean isEducationDepartment, global::System.Boolean is985, global::System.Boolean is211, Zone zone) { University university = new University(); university.Id = id; university.Name = name; university.UniversityType = universityType; university.Kind = kind; university.Address = address; university.IsEducationDepartment = isEducationDepartment; university.Is985 = is985; university.Is211 = is211; university.Zone = StructuralObject.VerifyComplexObjectIsNotNull(zone, "Zone"); return university; }