Пример #1
0
            public titlesRow Add(string title_id, string title, string type, string pub_id, System.Decimal price, System.Decimal advance, int royalty, int ytd_sales, string notes, System.DateTime pubdate)
            {
                titlesRow row = this.NewRow();

                row.ItemArray = new object[] {
                    title_id,
                    title,
                    type,
                    pub_id,
                    price,
                    advance,
                    royalty,
                    ytd_sales,
                    notes,
                    pubdate
                };
                this.Rows.Add(row);
                return(row);
            }
Пример #2
0
            public titlesRow AddtitlesRow(string title_id, string title, string type, publishersRow parentpublishersRowBypublisherstitles, System.Decimal price, System.Decimal advance, int royalty, int ytd_sales, string notes, System.DateTime pubdate)
            {
                titlesRow rowtitlesRow = ((titlesRow)(this.NewRow()));

                rowtitlesRow.ItemArray = new object[] {
                    title_id,
                    title,
                    type,
                    parentpublishersRowBypublisherstitles[0],
                    price,
                    advance,
                    royalty,
                    ytd_sales,
                    notes,
                    pubdate
                };
                this.Rows.Add(rowtitlesRow);
                return(rowtitlesRow);
            }
Пример #3
0
 public titlesRowChangeEvent(titlesRow row, System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Пример #4
0
 public void Remove(titlesRow row)
 {
     this.Rows.Remove(row);
 }
Пример #5
0
 public void AddtitlesRow(titlesRow row)
 {
     this.Rows.Add(row);
 }
 public titlesRowChangeEvent(titlesRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void RemovetitlesRow(titlesRow row) {
     this.Rows.Remove(row);
 }
 public void AddtitlesRow(titlesRow row) {
     this.Rows.Add(row);
 }