/// <summary> /// Deprecated Method for adding a new object to the tblStudents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblStudents(tblStudent tblStudent) { base.AddObject("tblStudents", tblStudent); }
/// <summary> /// Create a new tblStudent object. /// </summary> /// <param name="studentId">Initial value of the StudentId property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static tblStudent CreatetblStudent(global::System.Int32 studentId, global::System.Boolean isActive) { tblStudent tblStudent = new tblStudent(); tblStudent.StudentId = studentId; tblStudent.IsActive = isActive; return tblStudent; }