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

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

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

            return(coll);
        }