Example #1
0
        public PnAnexoCollection FetchByQuery(Query qry)
        {
            PnAnexoCollection coll = new PnAnexoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public PnAnexoCollection FetchAll()
        {
            PnAnexoCollection coll = new PnAnexoCollection();
            Query             qry  = new Query(PnAnexo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public PnAnexoCollection FetchByID(object IdAnexo)
        {
            PnAnexoCollection coll = new PnAnexoCollection().Where("id_anexo", IdAnexo).Load();

            return(coll);
        }