Beispiel #1
0
        public TblLotCollection FetchByQuery(Query qry)
        {
            TblLotCollection coll = new TblLotCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public TblLotCollection FetchAll()
        {
            TblLotCollection coll = new TblLotCollection();
            Query            qry  = new Query(TblLot.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public TblLotCollection FetchByID(object Id)
        {
            TblLotCollection coll = new TblLotCollection().Where("ID", Id).Load();

            return(coll);
        }