/// <summary> /// Deprecated Method for adding a new object to the Schools EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSchools(School school) { base.AddObject("Schools", school); }
/// <summary> /// Create a new School object. /// </summary> /// <param name="schoolID">Initial value of the SchoolID property.</param> public static School CreateSchool(global::System.Int32 schoolID) { School school = new School(); school.SchoolID = schoolID; return school; }