示例#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);
        }