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

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

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

            return(coll);
        }