/// <summary> /// Deprecated Method for adding a new object to the Colleges EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToColleges(College college) { base.AddObject("Colleges", college); }
/// <summary> /// Create a new College object. /// </summary> /// <param name="admin_Name">Initial value of the Admin_Name property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="password">Initial value of the Password property.</param> public static College CreateCollege(global::System.Int32 admin_Name, global::System.String name, global::System.String password) { College college = new College(); college.Admin_Name = admin_Name; college.Name = name; college.Password = password; return college; }