Пример #1
0
 /// <summary>
 /// Create a new lecturers object.
 /// </summary>
 /// <param name="lecturerID">Initial value of the LecturerID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="surName">Initial value of the SurName property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 public static lecturers Createlecturers(global::System.Int32 lecturerID, global::System.String name, global::System.String surName, global::System.String userName, global::System.String password)
 {
     lecturers lecturers = new lecturers();
     lecturers.LecturerID = lecturerID;
     lecturers.Name = name;
     lecturers.SurName = surName;
     lecturers.UserName = userName;
     lecturers.Password = password;
     return lecturers;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the lecturers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTolecturers(lecturers lecturers)
 {
     base.AddObject("lecturers", lecturers);
 }