示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblStudents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblStudents(tblStudent tblStudent)
 {
     base.AddObject("tblStudents", tblStudent);
 }
示例#2
0
 /// <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;
 }