Ejemplo n.º 1
0
        protected IList <InvolvedRow> GetInvolvedRows([NotNull] ITableIndexRow tableIndexRow)
        {
            IRow          row     = tableIndexRow.GetRow(InvolvedTables);
            RelatedTables related = GetRelatedTables(row);

            return(related?.GetInvolvedRows(row) ?? new[] { new InvolvedRow(row) });
        }
Ejemplo n.º 2
0
 public SimpleDirectedRow([NotNull] ITopologicalLine line,
                          [NotNull] ITableIndexRow row,
                          bool isBackward)
 {
     _isBackward      = isBackward;
     _topologicalLine = line; // new SimpleTopoLine(line);
     _row             = row;  // new SimpleTableIndexRow(row);
 }
Ejemplo n.º 3
0
        private RowCondition GetFlipCondition([NotNull] ITableIndexRow row)
        {
            if (_flipExpressions == null)
            {
                return(null);
            }

            if (_flipConditions == null)
            {
                _flipConditions = CreateFlipConditions(
                    _flipExpressions, InvolvedTables);
            }

            return(_flipConditions.Count == 1
                                       ? _flipConditions[0]
                                       : _flipConditions[row.TableIndex]);
        }
Ejemplo n.º 4
0
 public NodesDirectedRow([NotNull] ITopologicalLine line,
                         [NotNull] ITableIndexRow row,
                         bool isBackward)
     : base(line, row, isBackward)
 {
 }