/// <summary> /// Deprecated Method for adding a new object to the ProspectiveStudent EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProspectiveStudent(ProspectiveStudent prospectiveStudent) { base.AddObject("ProspectiveStudent", prospectiveStudent); }
/// <summary> /// Create a new ProspectiveStudent object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="emailAddress">Initial value of the EmailAddress property.</param> public static ProspectiveStudent CreateProspectiveStudent(global::System.Int32 id, global::System.Int32 userId, global::System.Int32 status, global::System.String name, global::System.String emailAddress) { ProspectiveStudent prospectiveStudent = new ProspectiveStudent(); prospectiveStudent.ID = id; prospectiveStudent.UserId = userId; prospectiveStudent.Status = status; prospectiveStudent.Name = name; prospectiveStudent.EmailAddress = emailAddress; return prospectiveStudent; }