/// <summary> /// Create a new User object. /// </summary> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="officeName">Initial value of the OfficeName property.</param> /// <param name="verified">Initial value of the Verified property.</param> public static User CreateUser(global::System.String userID, global::System.String email, global::System.Byte[] password, global::System.String officeName, global::System.Boolean verified) { User user = new User(); user.UserID = userID; user.Email = email; user.Password = password; user.OfficeName = officeName; user.Verified = verified; return user; }
/// <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); }