예제 #1
0
        public PnAccidentesLabCollection FetchByQuery(Query qry)
        {
            PnAccidentesLabCollection coll = new PnAccidentesLabCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public PnAccidentesLabCollection FetchAll()
        {
            PnAccidentesLabCollection coll = new PnAccidentesLabCollection();
            Query qry = new Query(PnAccidentesLab.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public PnAccidentesLabCollection FetchByID(object IdAccidentesLab)
        {
            PnAccidentesLabCollection coll = new PnAccidentesLabCollection().Where("id_accidentes_lab", IdAccidentesLab).Load();

            return(coll);
        }