예제 #1
0
        /// <summary>
        /// Create a new StudentGrade object.
        /// </summary>
        /// <param name="enrollmentID">Initial value of the EnrollmentID property.</param>
        /// <param name="courseID">Initial value of the CourseID property.</param>
        /// <param name="studentID">Initial value of the StudentID property.</param>
        public static StudentGrade CreateStudentGrade(global::System.Int32 enrollmentID, global::System.Int32 courseID, global::System.Int32 studentID)
        {
            StudentGrade studentGrade = new StudentGrade();

            studentGrade.EnrollmentID = enrollmentID;

            studentGrade.CourseID = courseID;

            studentGrade.StudentID = studentID;

            return(studentGrade);
        }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StudentGrades EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStudentGrades(StudentGrade studentGrade)
 {
     base.AddObject("StudentGrades", studentGrade);
 }