Пример #1
0
        public AprEmbarazoCollection FetchByQuery(Query qry)
        {
            AprEmbarazoCollection coll = new AprEmbarazoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public AprEmbarazoCollection FetchAll()
        {
            AprEmbarazoCollection coll = new AprEmbarazoCollection();
            Query qry = new Query(AprEmbarazo.Schema);

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