Example #1
0
 /// <summary>
 /// Create a new OcUser object.
 /// </summary>
 /// <param name="studentStaffNo">Initial value of the StudentStaffNo property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="surname">Initial value of the Surname property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="gender">Initial value of the Gender property.</param>
 public static OcUser CreateOcUser(global::System.String studentStaffNo, global::System.String name, global::System.String surname, global::System.String title, global::System.String type, global::System.String email, global::System.String gender)
 {
     OcUser ocUser = new OcUser();
     ocUser.StudentStaffNo = studentStaffNo;
     ocUser.Name = name;
     ocUser.Surname = surname;
     ocUser.Title = title;
     ocUser.Type = type;
     ocUser.Email = email;
     ocUser.Gender = gender;
     return ocUser;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OcUsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOcUsers(OcUser ocUser)
 {
     base.AddObject("OcUsers", ocUser);
 }