/// <summary> /// Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsers(User user) { base.AddObject("Users", user); }
/// <summary> /// Create a new User object. /// </summary> /// <param name="u_user_id">Initial value of the u_user_id property.</param> /// <param name="l_name">Initial value of the l_name property.</param> /// <param name="f_name">Initial value of the f_name property.</param> /// <param name="email">Initial value of the email property.</param> public static User CreateUser(global::System.String u_user_id, global::System.String l_name, global::System.String f_name, global::System.String email) { User user = new User(); user.u_user_id = u_user_id; user.l_name = l_name; user.f_name = f_name; user.email = email; return user; }