public static void AssignDetailsListRow(DetailsListsRow sourceRow, DetailsListsRow destRow) { destRow.DetailsListID = sourceRow.DetailsListID; if (sourceRow.IsOrderIDNull()) destRow.SetOrderIDNull(); else destRow.OrderID = sourceRow.OrderID; if (sourceRow.IsRemarksNull()) destRow.SetRemarksNull(); else destRow.Remarks = sourceRow.Remarks; }
public static void AssignDetailsListRow(DetailsListsRow sourceRow, DetailsListsRow destRow) { destRow.DetailsListID = sourceRow.DetailsListID; if (sourceRow.IsOrderIDNull()) { destRow.SetOrderIDNull(); } else { destRow.OrderID = sourceRow.OrderID; } if (sourceRow.IsRemarksNull()) { destRow.SetRemarksNull(); } else { destRow.Remarks = sourceRow.Remarks; } }
public DetailsListsDetailsRow AddDetailsListsDetailsRow(DetailsListsRow parentDetailsListsRowByFK_DetailsListsDetails_DetailsLists, string Name, decimal Length, decimal Width, int Amount, MaterialsRow parentMaterialsRowByFK_DetailsListsDetails_Materials, string LeftEdge, string TopEdge, string RightEdge, string BottomEdge) { DetailsListsDetailsRow rowDetailsListsDetailsRow = ((DetailsListsDetailsRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, null, Name, Length, Width, Amount, null, LeftEdge, TopEdge, RightEdge, BottomEdge}; if ((parentDetailsListsRowByFK_DetailsListsDetails_DetailsLists != null)) { columnValuesArray[1] = parentDetailsListsRowByFK_DetailsListsDetails_DetailsLists[0]; } if ((parentMaterialsRowByFK_DetailsListsDetails_Materials != null)) { columnValuesArray[6] = parentMaterialsRowByFK_DetailsListsDetails_Materials[0]; } rowDetailsListsDetailsRow.ItemArray = columnValuesArray; this.Rows.Add(rowDetailsListsDetailsRow); return rowDetailsListsDetailsRow; }
public DetailsListsRowChangeEvent(DetailsListsRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveDetailsListsRow(DetailsListsRow row) { this.Rows.Remove(row); }
public void AddDetailsListsRow(DetailsListsRow row) { this.Rows.Add(row); }