コード例 #1
0
        public PnEntregaCollection FetchByQuery(Query qry)
        {
            PnEntregaCollection coll = new PnEntregaCollection();

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

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

            return(coll);
        }