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