Exemplo n.º 1
0
        protected override DbDataReader ExecuteDbDataReader(System.Data.CommandBehavior behavior)
        {
            this.Prepare();

            Storage.ITable tbl = ((DbfConnection)this.DbConnection)
                                 .UnderlyingDatabase.Execute(this.UnderlyingQuery.Runnable);

            if (this.UnderlyingQuery.GetType() == typeof(SelectQuery))
            {
                return(new DbfDataReader(tbl));
            }
            return(null);
        }
Exemplo n.º 2
0
 internal DbfDataReader(Storage.ITable tbl)
 {
     this.UnderlyingTable = tbl;
 }