/// <summary> /// Create a new StudentAddress object. /// </summary> /// <param name="studentID">Initial value of the StudentID property.</param> /// <param name="address1">Initial value of the Address1 property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="state">Initial value of the State property.</param> public static StudentAddress CreateStudentAddress(global::System.Int32 studentID, global::System.String address1, global::System.String city, global::System.String state) { StudentAddress studentAddress = new StudentAddress(); studentAddress.StudentID = studentID; studentAddress.Address1 = address1; studentAddress.City = city; studentAddress.State = state; return(studentAddress); }
/// <summary> /// Deprecated Method for adding a new object to the StudentAddresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStudentAddresses(StudentAddress studentAddress) { base.AddObject("StudentAddresses", studentAddress); }