public TerritoriesRow AddTerritoriesRow(string TerritoryID, string TerritoryDescription, int RegionID) { TerritoriesRow rowTerritoriesRow = ((TerritoriesRow)(this.NewRow())); rowTerritoriesRow.ItemArray = new object[] { TerritoryID, TerritoryDescription, RegionID }; this.Rows.Add(rowTerritoriesRow); return(rowTerritoriesRow); }
public TerritoriesRowChangeEvent(TerritoriesRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveTerritoriesRow(TerritoriesRow row) { this.Rows.Remove(row); }
public void AddTerritoriesRow(TerritoriesRow row) { this.Rows.Add(row); }
public EmployeeTerritoriesRow AddEmployeeTerritoriesRow(EmployeesRow parentEmployeesRowByFK_EmployeeTerritories_Employees, TerritoriesRow parentTerritoriesRowByFK_EmployeeTerritories_Territories) { EmployeeTerritoriesRow rowEmployeeTerritoriesRow = ((EmployeeTerritoriesRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, null}; if ((parentEmployeesRowByFK_EmployeeTerritories_Employees != null)) { columnValuesArray[0] = parentEmployeesRowByFK_EmployeeTerritories_Employees[0]; } if ((parentTerritoriesRowByFK_EmployeeTerritories_Territories != null)) { columnValuesArray[1] = parentTerritoriesRowByFK_EmployeeTerritories_Territories[0]; } rowEmployeeTerritoriesRow.ItemArray = columnValuesArray; this.Rows.Add(rowEmployeeTerritoriesRow); return rowEmployeeTerritoriesRow; }
public TerritoriesRowChangeEvent(TerritoriesRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveTerritoriesRow(TerritoriesRow row) { this.Rows.Remove(row); }
public void AddTerritoriesRow(TerritoriesRow row) { this.Rows.Add(row); }
public EmployeeTerritoriesRow AddEmployeeTerritoriesRow(EmployeesRow parentEmployeesRowByFK_EmployeeTerritories_Employees, TerritoriesRow parentTerritoriesRowByFK_EmployeeTerritories_Territories) { EmployeeTerritoriesRow rowEmployeeTerritoriesRow = ((EmployeeTerritoriesRow)(this.NewRow())); rowEmployeeTerritoriesRow.ItemArray = new object[] { parentEmployeesRowByFK_EmployeeTerritories_Employees[0], parentTerritoriesRowByFK_EmployeeTerritories_Territories[0]}; this.Rows.Add(rowEmployeeTerritoriesRow); return rowEmployeeTerritoriesRow; }