예제 #1
0
        public object GetValue(int ColumnIndex)
        {
            if ((TPseudoColumn)ColumnIndex == TPseudoColumn.RowCount)
            {
                return(DataState.RowCount);                                                      //First so it does not check for eof.
            }
            if (Eof())
            {
                FlxMessages.ThrowException(FlxErr.ErrReadAfterEOF);
            }
            if (ColumnIndex < 0)
            {
                switch ((TPseudoColumn)ColumnIndex)
                {
                case TPseudoColumn.RowPos: return(DataState.Position);

                default: FlxMessages.ThrowException(FlxErr.ErrInternal); break;     //Should never come here.
                }
            }
            return(DataState.GetValue(ColumnIndex));
        }
예제 #2
0
 public override object GetValue(int column)
 {
     return(ActualDataState.GetValue(column));
 }