Пример #1
0
        public TblLotCollection FetchByQuery(Query qry)
        {
            TblLotCollection coll = new TblLotCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public TblLotCollection FetchAll()
        {
            TblLotCollection coll = new TblLotCollection();
            Query            qry  = new Query(TblLot.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }