Exemple #1
0
        public PnObrasSocialeCollection FetchByQuery(Query qry)
        {
            PnObrasSocialeCollection coll = new PnObrasSocialeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public PnObrasSocialeCollection FetchAll()
        {
            PnObrasSocialeCollection coll = new PnObrasSocialeCollection();
            Query qry = new Query(PnObrasSociale.Schema);

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