/// <summary> /// Deprecated Method for adding a new object to the StudentEvaluations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStudentEvaluations(StudentEvaluation studentEvaluation) { base.AddObject("StudentEvaluations", studentEvaluation); }
/// <summary> /// Create a new StudentEvaluation object. /// </summary> /// <param name="studentEvaluationId">Initial value of the StudentEvaluationId property.</param> /// <param name="studentId">Initial value of the StudentId property.</param> /// <param name="scheduledDate">Initial value of the ScheduledDate property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param> /// <param name="lastModifiedOn">Initial value of the LastModifiedOn property.</param> public static StudentEvaluation CreateStudentEvaluation(global::System.Int32 studentEvaluationId, global::System.Int32 studentId, global::System.DateTime scheduledDate, global::System.Int32 createdBy, global::System.DateTime createdOn, global::System.Int32 lastModifiedBy, global::System.DateTime lastModifiedOn) { StudentEvaluation studentEvaluation = new StudentEvaluation(); studentEvaluation.StudentEvaluationId = studentEvaluationId; studentEvaluation.StudentId = studentId; studentEvaluation.ScheduledDate = scheduledDate; studentEvaluation.CreatedBy = createdBy; studentEvaluation.CreatedOn = createdOn; studentEvaluation.LastModifiedBy = lastModifiedBy; studentEvaluation.LastModifiedOn = lastModifiedOn; return studentEvaluation; }