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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public PersonCollection FetchAll()
        {
            PersonCollection coll = new PersonCollection();
            Query            qry  = new Query(Person.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }