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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public PnAccidentesLabCollection FetchAll()
        {
            PnAccidentesLabCollection coll = new PnAccidentesLabCollection();
            Query qry = new Query(PnAccidentesLab.Schema);

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

            return(coll);
        }