public ShippersRow AddShippersRow(string CompanyName, string Phone) { ShippersRow rowShippersRow = ((ShippersRow)(this.NewRow())); rowShippersRow.ItemArray = new object[] { null, CompanyName, Phone }; this.Rows.Add(rowShippersRow); return(rowShippersRow); }
public ShippersRowChangeEvent(ShippersRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveShippersRow(ShippersRow row) { this.Rows.Remove(row); }
public void AddShippersRow(ShippersRow row) { this.Rows.Add(row); }
public OrdersRow AddOrdersRow(CustomersRow parentCustomersRowByFK_Orders_Customers, EmployeesRow parentEmployeesRowByFK_Orders_Employees, System.DateTime OrderDate, System.DateTime RequiredDate, System.DateTime ShippedDate, ShippersRow parentShippersRowByFK_Orders_Shippers, decimal Freight, string ShipName, string ShipAddress, string ShipCity, string ShipRegion, string ShipPostalCode, string ShipCountry) { OrdersRow rowOrdersRow = ((OrdersRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, null, null, OrderDate, RequiredDate, ShippedDate, null, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, ShipCountry}; if ((parentCustomersRowByFK_Orders_Customers != null)) { columnValuesArray[1] = parentCustomersRowByFK_Orders_Customers[0]; } if ((parentEmployeesRowByFK_Orders_Employees != null)) { columnValuesArray[2] = parentEmployeesRowByFK_Orders_Employees[0]; } if ((parentShippersRowByFK_Orders_Shippers != null)) { columnValuesArray[6] = parentShippersRowByFK_Orders_Shippers[0]; } rowOrdersRow.ItemArray = columnValuesArray; this.Rows.Add(rowOrdersRow); return rowOrdersRow; }
public ShippersRowChangeEvent(ShippersRow row, System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public OrdersRow AddOrdersRow(CustomersRow parentCustomersRowByCustomersOrders, EmployeesRow parentEmployeesRowByEmployeesOrders, System.DateTime OrderDate, System.DateTime RequiredDate, System.DateTime ShippedDate, ShippersRow parentShippersRowByShippersOrders, decimal Freight, string ShipName, string ShipAddress, string ShipCity, string ShipRegion, string ShipPostalCode, string ShipCountry) { OrdersRow rowOrdersRow = ((OrdersRow)(this.NewRow())); rowOrdersRow.ItemArray = new object[] { null, parentCustomersRowByCustomersOrders[0], parentEmployeesRowByEmployeesOrders[0], OrderDate, RequiredDate, ShippedDate, parentShippersRowByShippersOrders[0], Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, ShipCountry}; this.Rows.Add(rowOrdersRow); return rowOrdersRow; }