public BookReviewsRow AddBookReviewsRow(BooksRow parentBooksRowByKeyTitleRef, long Rating, string Review)
            {
                BookReviewsRow rowBookReviewsRow = ((BookReviewsRow)(this.NewRow()));

                rowBookReviewsRow.ItemArray = new object[] {
                    parentBooksRowByKeyTitleRef[0],
                    Rating,
                    Review
                };
                this.Rows.Add(rowBookReviewsRow);
                return(rowBookReviewsRow);
            }
            public BooksRow AddBooksRow(long BookID, string Title, string Publisher)
            {
                BooksRow rowBooksRow = ((BooksRow)(this.NewRow()));

                rowBooksRow.ItemArray = new object[] {
                    BookID,
                    Title,
                    Publisher
                };
                this.Rows.Add(rowBooksRow);
                return(rowBooksRow);
            }
Пример #3
0
 public BooksRowChangeEvent(BooksRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
 public void RemoveBooksRow(BooksRow row)
 {
     this.Rows.Remove(row);
 }
 public void AddBooksRow(BooksRow row)
 {
     this.Rows.Add(row);
 }