/// <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="id">Initial value of the id property.</param> /// <param name="username">Initial value of the username property.</param> /// <param name="password">Initial value of the password property.</param> /// <param name="newsletter">Initial value of the newsletter property.</param> public static Users CreateUsers(global::System.Int32 id, global::System.String username, global::System.String password, global::System.Int32 newsletter) { Users users = new Users(); users.id = id; users.username = username; users.password = password; users.newsletter = newsletter; return users; }