/// <summary> /// Create a new BoardViewedState object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="boardId">Initial value of the BoardId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="viewed">Initial value of the Viewed property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> public static BoardViewedState CreateBoardViewedState(global::System.Int32 id, global::System.Int32 boardId, global::System.Int32 userId, global::System.Boolean viewed, global::System.DateTime dateTimeStamp) { BoardViewedState boardViewedState = new BoardViewedState(); boardViewedState.Id = id; boardViewedState.BoardId = boardId; boardViewedState.UserId = userId; boardViewedState.Viewed = viewed; boardViewedState.DateTimeStamp = dateTimeStamp; return boardViewedState; }
/// <summary> /// Deprecated Method for adding a new object to the BoardViewedStates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBoardViewedStates(BoardViewedState boardViewedState) { base.AddObject("BoardViewedStates", boardViewedState); }