Beispiel #1
0
            public CustomerOrderDataRow AddCustomerOrderDataRow(string CustomerID, System.DateTime OrderDate, float OrderTotal, string ShipCity, string ShipRegion, string ShipCountryRegion)
            {
                CustomerOrderDataRow rowCustomerOrderDataRow = ((CustomerOrderDataRow)(this.NewRow()));

                rowCustomerOrderDataRow.ItemArray = new object[] {
                    CustomerID,
                    OrderDate,
                    OrderTotal,
                    ShipCity,
                    ShipRegion,
                    ShipCountryRegion
                };
                this.Rows.Add(rowCustomerOrderDataRow);
                return(rowCustomerOrderDataRow);
            }
Beispiel #2
0
 public CustomerOrderDataRowChangeEvent(CustomerOrderDataRow row, System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Beispiel #3
0
 public void RemoveCustomerOrderDataRow(CustomerOrderDataRow row)
 {
     this.Rows.Remove(row);
 }
Beispiel #4
0
 public void AddCustomerOrderDataRow(CustomerOrderDataRow row)
 {
     this.Rows.Add(row);
 }