Ejemplo n.º 1
0
            public publishersRow Add(string pub_id, string pub_name, string city, string state, string country)
            {
                publishersRow row = this.NewRow();

                row.ItemArray = new object[] {
                    pub_id,
                    pub_name,
                    city,
                    state,
                    country
                };
                this.Rows.Add(row);
                return(row);
            }
Ejemplo n.º 2
0
 public publishersRowChangeEvent(publishersRow row, System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Ejemplo n.º 3
0
 public void Remove(publishersRow row)
 {
     this.Rows.Remove(row);
 }
Ejemplo n.º 4
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);
            }
Ejemplo n.º 5
0
 public void AddpublishersRow(publishersRow row)
 {
     this.Rows.Add(row);
 }