/// <summary> /// Deprecated Method for adding a new object to the AuditBoards EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuditBoards(AuditBoard auditBoard) { base.AddObject("AuditBoards", auditBoard); }
/// <summary> /// Create a new AuditBoard object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="boardId">Initial value of the BoardId property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> /// <param name="updatedByUserId">Initial value of the UpdatedByUserId property.</param> public static AuditBoard CreateAuditBoard(global::System.Int32 id, global::System.Int32 boardId, global::System.String message, global::System.DateTime dateTimeStamp, global::System.Int32 updatedByUserId) { AuditBoard auditBoard = new AuditBoard(); auditBoard.Id = id; auditBoard.BoardId = boardId; auditBoard.Message = message; auditBoard.DateTimeStamp = dateTimeStamp; auditBoard.UpdatedByUserId = updatedByUserId; return auditBoard; }