/// <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="user_Id">Initial value of the User_Id property.</param> /// <param name="user_Name">Initial value of the User_Name property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="first_Name">Initial value of the First_Name property.</param> /// <param name="last_Name">Initial value of the Last_Name property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="access_Level_Id">Initial value of the Access_Level_Id property.</param> public static User CreateUser(global::System.Int32 user_Id, global::System.String user_Name, global::System.String password, global::System.String first_Name, global::System.String last_Name, global::System.String email, global::System.Int32 access_Level_Id) { User user = new User(); user.User_Id = user_Id; user.User_Name = user_Name; user.Password = password; user.First_Name = first_Name; user.Last_Name = last_Name; user.Email = email; user.Access_Level_Id = access_Level_Id; return user; }