Exemplo n.º 1
0
        public TblLotCollection FetchByQuery(Query qry)
        {
            TblLotCollection coll = new TblLotCollection();

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

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

            return(coll);
        }