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

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

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

            return(coll);
        }