/// <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(Users users) { base.AddObject("Users", users); }
/// <summary> /// Create a new Users object. /// </summary> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="position">Initial value of the Position property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="username">Initial value of the Username property.</param> public static Users CreateUsers(global::System.Guid userID, global::System.String firstName, global::System.String lastName, global::System.String position, global::System.Boolean isActive, global::System.String username) { Users users = new Users(); users.UserID = userID; users.FirstName = firstName; users.LastName = lastName; users.Position = position; users.IsActive = isActive; users.Username = username; return users; }