Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public WhenRowChangeEvent(WhenRow row, System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
Esempio n. 3
0
 public void AddWhenRow(WhenRow row) {
     this.Rows.Add(row);
 }
Esempio n. 4
0
 public void RemoveWhenRow(WhenRow row) {
     this.Rows.Remove(row);
 }
Esempio n. 5
0
 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;
 }