/// <summary> /// Deprecated Method for adding a new object to the student EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTostudent(student student) { base.AddObject("student", student); }
/// <summary> /// Create a new student object. /// </summary> /// <param name="stud_id">Initial value of the stud_id property.</param> /// <param name="ime">Initial value of the ime property.</param> /// <param name="prezime">Initial value of the prezime property.</param> public static student Createstudent(global::System.Int32 stud_id, global::System.String ime, global::System.String prezime) { student student = new student(); student.stud_id = stud_id; student.ime = ime; student.prezime = prezime; return student; }