public FactRow AddFactRow(WhatRow parentWhatRowByFK_What_Fact, WhereRow parentWhereRowByFK_Where_Fact, WhenRow parentWhenRowByFK_When_Fact, string ThumbnailUrl) { FactRow rowFactRow = ((FactRow)(this.NewRow())); rowFactRow.ItemArray = new object[] { parentWhatRowByFK_What_Fact[0], parentWhereRowByFK_Where_Fact[0], parentWhenRowByFK_When_Fact[0], ThumbnailUrl}; this.Rows.Add(rowFactRow); return rowFactRow; }
public WhenRowChangeEvent(WhenRow row, System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddWhenRow(WhenRow row) { this.Rows.Add(row); }
public void RemoveWhenRow(WhenRow row) { this.Rows.Remove(row); }
public FactRow AddFactRow(WhatRow parentWhatRowByFK_What_Fact, WhereRow parentWhereRowByFK_Where_Fact, WhenRow parentWhenRowByFK_When_Fact, string ThumbnailUrl) { FactRow rowFactRow = ((FactRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, null, null, ThumbnailUrl}; if ((parentWhatRowByFK_What_Fact != null)) { columnValuesArray[0] = parentWhatRowByFK_What_Fact[0]; } if ((parentWhereRowByFK_Where_Fact != null)) { columnValuesArray[1] = parentWhereRowByFK_Where_Fact[0]; } if ((parentWhenRowByFK_When_Fact != null)) { columnValuesArray[2] = parentWhenRowByFK_When_Fact[0]; } rowFactRow.ItemArray = columnValuesArray; this.Rows.Add(rowFactRow); return rowFactRow; }