/// <summary> /// Create a new Alumnus object. /// </summary> /// <param name="alumnusId">Initial value of the AlumnusId property.</param> /// <param name="name">Initial value of the Name property.</param> public static Alumnus CreateAlumnus(global::System.Int32 alumnusId, global::System.String name) { Alumnus alumnus = new Alumnus(); alumnus.AlumnusId = alumnusId; alumnus.Name = name; return(alumnus); }
/// <summary> /// Deprecated Method for adding a new object to the Alumni EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAlumni(Alumnus alumnus) { base.AddObject("Alumni", alumnus); }