/// <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="name">Initial value of the Name property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="username">Initial value of the Username property.</param> /// <param name="id">Initial value of the Id property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="activationDate">Initial value of the ActivationDate property.</param> public static user Createuser(global::System.String name, global::System.String email, global::System.String username, global::System.Guid id, global::System.Boolean isActive, global::System.DateTime activationDate) { user user = new user(); user.Name = name; user.Email = email; user.Username = username; user.Id = id; user.IsActive = isActive; user.ActivationDate = activationDate; return user; }