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

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

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

            return(coll);
        }